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/PEdit.inc.php

    r468 r478  
    144144        $app =& App::getInstance();
    145145
    146         if (isset($this->_params[$param])) {
     146        if (array_key_exists($param, $this->_params)) {
    147147            return $this->_params[$param];
    148148        } else {
Note: See TracChangeset for help on using the changeset viewer.