Changeset 242 for trunk/lib/Prefs.inc.php
- Timestamp:
- Apr 5, 2007 12:16:27 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Prefs.inc.php
r241 r242 203 203 { 204 204 $app =& App::getInstance(); 205 if ( array_key_exists($key, $_SESSION['_prefs'][$this->_ns]['persistent'])) {205 if (isset($_SESSION['_prefs'][$this->_ns]['persistent']) && array_key_exists($key, $_SESSION['_prefs'][$this->_ns]['persistent'])) { 206 206 $app->logMsg(sprintf('Found %s in persistent', $key), LOG_DEBUG, __FILE__, __LINE__); 207 207 return $_SESSION['_prefs'][$this->_ns]['persistent'][$key]; 208 } else if ( array_key_exists($key, $_SESSION['_prefs'][$this->_ns]['defaults'])) {208 } else if (isset($_SESSION['_prefs'][$this->_ns]['defaults']) && array_key_exists($key, $_SESSION['_prefs'][$this->_ns]['defaults'])) { 209 209 $app->logMsg(sprintf('Found %s in defaults', $key), LOG_DEBUG, __FILE__, __LINE__); 210 210 return $_SESSION['_prefs'][$this->_ns]['defaults'][$key];
Note: See TracChangeset
for help on using the changeset viewer.