Merged in release/3.4.4 (pull request #7197)
3.4.4: Update the feature with the last official build Approved-by: Paula Quispe <paula.quispe@processmaker.com>
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 ()
|
||||
|
||||
@@ -237,7 +237,7 @@ class Translation extends BaseTranslation
|
||||
}
|
||||
|
||||
$res['cacheFileMafe'] = $cacheFileMafe;
|
||||
$res['languague'] = count($cacheFileMafe);
|
||||
$res['languague'] = (is_array($cacheFileMafe) || $cacheFileMafe instanceof Countable) ? count($cacheFileMafe) : 0;
|
||||
$res['rowsMafeJS'] = count( $translation );
|
||||
return $res;
|
||||
} catch (Exception $e) {
|
||||
|
||||
Reference in New Issue
Block a user