PMC-1441 get_class() expects parameter 1 to be object
This commit is contained in:
@@ -103,7 +103,7 @@ class Configuration extends BaseConfiguration
|
||||
public function exists($CfgUid, $ObjUid = "", $ProUid = "", $UsrUid = "", $AppUid = "")
|
||||
{
|
||||
$oRow = ConfigurationPeer::retrieveByPK( $CfgUid, $ObjUid, $ProUid, $UsrUid, $AppUid );
|
||||
return (( get_class ($oRow) == 'Configuration' )&&(!is_null($oRow)));
|
||||
return (!is_null($oRow) && get_class($oRow) === 'Configuration');
|
||||
}
|
||||
|
||||
public function getAll ()
|
||||
|
||||
Reference in New Issue
Block a user