Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

BUGFIX: Prevent notice-level error in Session code when non-array is …

…turned into an array.
  • Loading branch information...
commit f8206d15c81b161af13494e9e978794b947fb3c1 1 parent f72c77e
Sam Minnée sminnee authored chillu committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  control/Session.php
2  control/Session.php
View
@@ -415,7 +415,7 @@ public function inst_save() {
protected function recursivelyApply($data, &$dest) {
foreach($data as $k => $v) {
if(is_array($v)) {
- if(!isset($dest[$k])) $dest[$k] = array();
+ if(!isset($dest[$k]) || !is_array($dest[$k])) $dest[$k] = array();
$this->recursivelyApply($v, $dest[$k]);
} else {
$dest[$k] = $v;
Please sign in to comment.
Something went wrong with that request. Please try again.