SAAS-63: airtime-saas: Something is broken in Preference.php
- fixed
This commit is contained in:
parent
6f3e6535de
commit
4b12b4e01e
|
@ -7,7 +7,7 @@ class Application_Model_Preference
|
||||||
global $CC_CONFIG, $CC_DBC;
|
global $CC_CONFIG, $CC_DBC;
|
||||||
|
|
||||||
//called from a daemon process
|
//called from a daemon process
|
||||||
if(!Zend_Auth::getInstance()->hasIdentity()) {
|
if(!class_exists("Zend_Auth", false) || !Zend_Auth::getInstance()->hasIdentity()) {
|
||||||
$id = NULL;
|
$id = NULL;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue