1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-22 13:41:52 +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;

View File

@ -197,7 +197,7 @@ define("LAN_NEWS_62", "Error accessing database, or no news items found");
define("LAN_NEWS_63", "Create Category");
define("LAN_NEWS_64", "Old Submitted");
define("LAN_NEWS_65", "Please choose unique SEF URL string for this category");
define("LAN_NEWS_66", "Please choose unique SEF URL string for this category");
define("LAN_NEWS_66", ""); // Unused
define("LAN_NEWS_67", "Close");
define("LAN_NEWS_68", "Submitted Item");