Missing array init in Admin Backend, jquery & prototype update
If no page list data for admin backend is read, the pages array is not set, init it, so it doesn't throw an error. Update jquery 1 to 1.11.1, jquery 2 to 2.1.1 and prototype to 1.7.1.0
This commit is contained in:
+10308
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+9190
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
|||||||
jquery-1.8.2.min.js
|
jquery-1.11.1.js
|
||||||
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -1 +1 @@
|
|||||||
prototype-1.7.1.0.js
|
scriptaculous/prototype.js
|
||||||
+3664
-2235
File diff suppressed because it is too large
Load Diff
@@ -162,6 +162,8 @@
|
|||||||
|
|
||||||
// get the session pages array
|
// get the session pages array
|
||||||
$pages = $_SESSION["PAGES"];
|
$pages = $_SESSION["PAGES"];
|
||||||
|
if (!is_array($pages))
|
||||||
|
$pages = array ();
|
||||||
|
|
||||||
//$this->debug('pages', $this->print_ar($pages));
|
//$this->debug('pages', $this->print_ar($pages));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user