Update admin_categories.php
This commit is contained in:
parent
131ccbfc75
commit
eb467731a6
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ else if (isset($_POST['update'])) // Change position and name of the categories
|
|||
if ($cur_cat['order'] == '' || preg_match('%[^0-9]%', $cur_cat['order']))
|
||||
message($lang_admin_categories['Must enter integer message']);
|
||||
|
||||
$db->query('UPDATE '.$db->prefix.'categories SET cat_name=\''.$db->escape($cur_cat['name']).'\', disp_position='.$cur_cat['order'].' WHERE id='.intval($cat_id)) or error('Unable to update category', __FILE__, __LINE__, $db->error());
|
||||
$db->query('UPDATE '.$db->prefix.'categories SET cat_name=\''.$db->escape($cur_cat['name']).'\', disp_position='.intval($cur_cat['order']).' WHERE id='.intval($cat_id)) or error('Unable to update category', __FILE__, __LINE__, $db->error());
|
||||
}
|
||||
|
||||
// Regenerate the quick jump cache
|
||||
|
|
Loading…
Reference in a new issue