mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
Sql query syntax fix
This commit is contained in:
parent
1ae7cb8a8e
commit
a1f94abbb6
@ -782,7 +782,7 @@ class page_admin_ui extends e_admin_ui
|
||||
e107::getRedirect()->redirect(e_ADMIN_ABS.'cpage.php');
|
||||
}
|
||||
|
||||
if(!$type && $sql->db_Count('page', '(page_id)', ($mode ? "page_id<>{$mode} AND " : '')."page_sef!={$page_sef}"))
|
||||
if(!$type && $sql->db_Count('page', '(page_id)', ($mode ? "page_id<>{$mode} AND " : '')."page_sef!='{$page_sef}'"))
|
||||
{
|
||||
e107::getMessage()->addError(CUSLAN_34, 'default', true);
|
||||
e107::getRedirect()->redirect(e_ADMIN_ABS.'cpage.php');
|
||||
|
Loading…
x
Reference in New Issue
Block a user