Add the menu_default method to app_defaults.php.

This commit is contained in:
markjcrane
2016-03-26 22:59:00 -06:00
parent c0b93e849c
commit fa2b753e62
2 changed files with 8 additions and 155 deletions

View File

@@ -563,12 +563,12 @@
$sql .= ") ";
$sql .= "values ";
$sql .= "(";
$sql .= "'".$menu_uuid."', ";
$sql .= "'".$this->menu_uuid."', ";
$sql .= "'$menu_name', ";
$sql .= "'$menu_language', ";
$sql .= "'$menu_description' ";
$sql .= ");";
$this->db->exec(check_sql($sql));
$this->db->exec($sql);
//add the menu items
$this->restore();