mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 19:30:25 +02:00
Rename page_theme to menu_name
This commit is contained in:
@@ -273,7 +273,7 @@ class e_menu
|
||||
|
||||
if(is_numeric($mpath) || ($mname === false)) // Custom Page/Menu
|
||||
{
|
||||
$query = ($mname === false) ? "page_theme = '".$mpath."' " : "page_id=".intval($mpath)." "; // load by ID or load by menu-name (page_theme)
|
||||
$query = ($mname === false) ? "menu_name = '".$mpath."' " : "page_id=".intval($mpath)." "; // load by ID or load by menu-name (menu_name)
|
||||
|
||||
$sql->select("page", "*", $query);
|
||||
$page = $sql->fetch();
|
||||
|
Reference in New Issue
Block a user