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

    r477 r478  
    164164        $app =& App::getInstance();
    165165
    166         if (isset($this->_params[$param])) {
     166        if (array_key_exists($param, $this->_params)) {
    167167            return $this->_params[$param];
    168168        } else {
Note: See TracChangeset for help on using the changeset viewer.