Browse Source

Merge branch 'main' into feature/user-roles

Kristan Kenney 5 years ago
parent
commit
6f51ac828b
1 changed files with 3 additions and 1 deletions
  1. 3 1
      web/update/hestia/index.php

+ 3 - 1
web/update/hestia/index.php

@@ -19,8 +19,10 @@ if ($_SESSION['userContext'] === 'admin') {
 
     if ($return_var != 0) {
         $error = implode('<br>', $output);
-        if (empty($error)) $error = sprintf(_('Error: %s update failed',$v_pkg);
+        if (empty($error)) {
+            $error = sprintf(_('Error: %s update failed',$v_pkg));
             $_SESSION['error_msg'] = $error;
+        }
     }
     unset($output);
 }