Changeset 478 for trunk/lib/Lock.inc.php


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

    r468 r478  
    162162        $app =& App::getInstance();
    163163
    164         if (isset($this->_params[$param])) {
     164        if (array_key_exists($param, $this->_params)) {
    165165            return $this->_params[$param];
    166166        } else {
Note: See TracChangeset for help on using the changeset viewer.