[Plugin: Easy Restaurant Menu Manager] Not working
-
Could you please update the plugin so that it works. Here is the problem in /lib/class.item.php on line 24 there is this :
$sql = "SELECT ".WPRMM_ITEM_DB.".*, ".WPRMM_ICON_DB.".image AS icon_image, ".WPRMM_ICON_DB.".name AS icon_name, ".WPRMM_ICON_DB.".description AS icon_description FROM wp_wprmm_items LEFT JOIN wp_wprmm_icons ON (wp_wprmm_items.icon_class = wp_wprmm_icons.id) $where ORDER BY category_id, display_order, id";
As you can see the table names are hardcoded. Please update to be this :
$sql = "SELECT ".WPRMM_ITEM_DB.".*, ".WPRMM_ICON_DB.".image AS icon_image, ".WPRMM_ICON_DB.".name AS icon_name, ".WPRMM_ICON_DB.".description AS icon_description FROM ".WPRMM_ITEM_DB." LEFT JOIN ".WPRMM_ICON_DB." ON (".WPRMM_ITEM_DB.".icon_class = ".WPRMM_ICON_DB.".id) $where ORDER BY category_id, display_order, id";
https://www.ads-software.com/extend/plugins/easy-restaurant-menu-manager/
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[Plugin: Easy Restaurant Menu Manager] Not working’ is closed to new replies.