From 4a7af9759a1874bdf6ec00a286040a3c64b9870e Mon Sep 17 00:00:00 2001 From: VirtualTam Date: Thu, 3 Dec 2015 20:30:46 +0100 Subject: fix: assign template variables to empty values so they can be evaluated Regression introduced in #394 Signed-off-by: VirtualTam --- application/ApplicationUtils.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'application/ApplicationUtils.php') 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 * @param bool $enableCheck whether to check for new versions * @param bool $isLoggedIn whether the user is logged in * + * @throws Exception an invalid branch has been set for update checks + * * @return mixed the new version code if available and greater, else 'false' */ public static function checkUpdate($currentVersion, -- cgit v1.2.3