diff options
author | William Desportes <williamdes@wdes.fr> | 2019-08-16 00:51:44 +0300 |
---|---|---|
committer | William Desportes <williamdes@wdes.fr> | 2019-08-16 00:51:57 +0300 |
commit | 689a25542a742f591372a51d265e9d6380f070e2 (patch) | |
tree | 725fe276f08febb0577ae30d27aabc29988940bb /libraries/classes/Tracking.php | |
parent | 0e07bd8ed9955b37b708e1f1b82d194394cdf05e (diff) | |
parent | 990323e8dbee6914ceeae6d1306babd7e933ce5d (diff) |
Merge branch 'QA_5_0' into 'master'
Signed-off-by: William Desportes <williamdes@wdes.fr>
Diffstat (limited to 'libraries/classes/Tracking.php')
-rw-r--r-- | libraries/classes/Tracking.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/classes/Tracking.php b/libraries/classes/Tracking.php index d1e330964d..8719f817cd 100644 --- a/libraries/classes/Tracking.php +++ b/libraries/classes/Tracking.php @@ -192,7 +192,7 @@ class Tracking public function getTableLastVersionNumber($sql_result) { $maxversion = $GLOBALS['dbi']->fetchArray($sql_result); - return intval($maxversion['version']); + return intval(is_array($maxversion) ? $maxversion['version'] : null); } /** |