1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 04:40:44 +02:00

Fixed parse error caused by last commit

This commit is contained in:
CaMer0n
2009-11-01 23:10:57 +00:00
parent 8f0f678f02
commit b42d486088

View File

@@ -9,9 +9,9 @@
* Custom Menus/Pages Administration * Custom Menus/Pages Administration
* *
* $Source: /cvs_backup/e107_0.8/e107_admin/cpage.php,v $ * $Source: /cvs_backup/e107_0.8/e107_admin/cpage.php,v $
* $Revision: 1.23 $ * $Revision: 1.24 $
* $Date: 2009-10-31 15:39:05 $ * $Date: 2009-11-01 23:10:57 $
* $Author: e107steved $ * $Author: e107coders $
* *
*/ */
@@ -442,7 +442,7 @@ class page
$page_text = $tp->toDB($_POST['data']); $page_text = $tp->toDB($_POST['data']);
$pauthor = ($_POST['page_display_authordate_flag'] ? USERID : 0); $pauthor = ($_POST['page_display_authordate_flag'] ? USERID : 0);
if($mode)
{ // Saving existing page/menu after edit { // Saving existing page/menu after edit
// Don't think $_POST['page_ip_restrict'] is ever set. // Don't think $_POST['page_ip_restrict'] is ever set.
$menuname = ($type ? ", page_theme = '".$tp -> toDB($_POST['menu_name'])."'" : ""); $menuname = ($type ? ", page_theme = '".$tp -> toDB($_POST['menu_name'])."'" : "");