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

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