mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 04:32:01 +02:00
bugfix #3849 : custom menu name updated in db menu table when name changed
This commit is contained in:
parent
59970ae25b
commit
5befd2ef63
@ -11,9 +11,9 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_admin/cpage.php,v $
|
||||
| $Revision: 1.2 $
|
||||
| $Date: 2007-01-09 20:28:44 $
|
||||
| $Author: e107steved $
|
||||
| $Revision: 1.3 $
|
||||
| $Date: 2007-03-23 20:39:52 $
|
||||
| $Author: lisa_ $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
@ -313,6 +313,12 @@ class page
|
||||
$e107cache->clear("page_{$mode}");
|
||||
$e107cache->clear("page-t_{$mode}");
|
||||
|
||||
if($type)
|
||||
{
|
||||
$sql -> db_Update("menus", "menu_name='$page_title' WHERE menu_path='$mode' ");
|
||||
$update++;
|
||||
}
|
||||
|
||||
if ($_POST['page_link'])
|
||||
{
|
||||
if ($sql -> db_Select("links", "link_id", "link_url='page.php?".$mode."' && link_name!='".$tp -> toDB($_POST['page_link'])."'"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user