diff options
author | VirtualTam <virtualtam@flibidi.net> | 2015-12-03 21:13:51 +0100 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.net> | 2015-12-03 21:13:51 +0100 |
commit | a6aa37b96fc59d3e6218dbcfd8f6ea8e5ba313b4 (patch) | |
tree | 4201598fb5b722e45a573a30452fe430145338f7 /application | |
parent | b6a54537b8823d2b96e9bdb64e280959d6681c36 (diff) | |
parent | 4a7af9759a1874bdf6ec00a286040a3c64b9870e (diff) | |
download | Shaarli-a6aa37b96fc59d3e6218dbcfd8f6ea8e5ba313b4.tar.gz Shaarli-a6aa37b96fc59d3e6218dbcfd8f6ea8e5ba313b4.tar.zst Shaarli-a6aa37b96fc59d3e6218dbcfd8f6ea8e5ba313b4.zip |
Merge pull request #398 from virtualtam/fix/initialize-version-vars
fix: assign template variables to empty values so they can be evaluated
Diffstat (limited to 'application')
-rw-r--r-- | application/ApplicationUtils.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/application/ApplicationUtils.php b/application/ApplicationUtils.php index 6d878110..274331e1 100644 --- a/application/ApplicationUtils.php +++ b/application/ApplicationUtils.php | |||
@@ -50,6 +50,8 @@ class ApplicationUtils | |||
50 | * @param bool $enableCheck whether to check for new versions | 50 | * @param bool $enableCheck whether to check for new versions |
51 | * @param bool $isLoggedIn whether the user is logged in | 51 | * @param bool $isLoggedIn whether the user is logged in |
52 | * | 52 | * |
53 | * @throws Exception an invalid branch has been set for update checks | ||
54 | * | ||
53 | * @return mixed the new version code if available and greater, else 'false' | 55 | * @return mixed the new version code if available and greater, else 'false' |
54 | */ | 56 | */ |
55 | public static function checkUpdate($currentVersion, | 57 | public static function checkUpdate($currentVersion, |