Ignore:
Timestamp:
Jun 17, 2015 11:47:23 PM (9 years ago)
Author:
anonymous
Message:

Enabled App to load version from json file. Lock URL fixed to permit additional query arguments. Return array instead of object for Prefs cookie json.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Prefs.inc.php

    r502 r526  
    333333            $name = $this->_getCookieName($key);
    334334            if ($this->exists($key)) {
    335                 $val = json_decode($_COOKIE[$name]);
     335                $val = json_decode($_COOKIE[$name], true);
    336336                $app->logMsg(sprintf('Found %s in cookie: %s', $key, getDump($val)), LOG_DEBUG, __FILE__, __LINE__);
    337337                return $val;
Note: See TracChangeset for help on using the changeset viewer.