1
0
mirror of https://github.com/e107inc/e107.git synced 2025-09-03 11:22:40 +02:00

remove duplication

This commit is contained in:
Lóna Lore
2015-05-08 10:56:33 +02:00
parent d25fd99fbb
commit 8a1a474d49
2 changed files with 2 additions and 2 deletions

View File

@@ -147,7 +147,7 @@ class news_cat_ui extends e_admin_ui
$sef = e107::getParser()->toDB($new_data['category_sef']);
if(e107::getDb()->count('news_category', '(*)', "category_sef='{$sef}' AND category_id!=".intval($id)))
{
e107::getMessage()->addError(LAN_NEWS_66);
e107::getMessage()->addError(LAN_NEWS_65);
return false;
}
return $new_data;