Ignore:
Timestamp:
May 3, 2014 9:13:05 PM (10 years ago)
Author:
anonymous
Message:

Using array_key_exists() instead of isset() where null may be a used value. Added params to Prefs constructor. Include setDefault functionality for cookie storage types. Finished cookie storagetype of Prefs.

File:
1 edited

Legend:

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

    r468 r478  
    119119        $app = &App::getInstance();
    120120
    121         if (isset($this->_params[$param])) {
     121        if (array_key_exists($param, $this->_params)) {
    122122            return $this->_params[$param];
    123123        } else {
Note: See TracChangeset for help on using the changeset viewer.