1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-22 14:13:03 +02:00

Updated default menu table items. Bootstrap3 default menus added back. (replacing hard-coded ones)

This commit is contained in:
Cameron
2015-04-03 13:10:46 -07:00
parent 0346d0df3b
commit ad630574ad
3 changed files with 228 additions and 86 deletions

View File

@@ -4880,7 +4880,7 @@ class e_admin_ui extends e_admin_controller_ui
}
// Increment every other record after the current page of records.
// Increment every other record after the current page of records.
// $changed = (intval($_POST['neworder']) * $step) + $from ;
$changed = $c - $step;
$qry = "UPDATE `#".$this->table."` e, (SELECT @n := ".($changed).") m SET e.".$this->sortField." = @n := @n + ".$step." WHERE ".$this->sortField." > ".($changed);