Permalink
Browse files

avoid parse error

1 parent 9b8b110 commit 3e0a93c27d87ab46323c9596e9ef523727044ba6 @michield michield committed Jan 8, 2017
Showing with 2 additions and 1 deletion.
  1. +2 −1 public_html/lists/admin/index.php
@@ -117,7 +117,8 @@ function mb_strtolower($string)
$_SESSION['ui'] = $GLOBALS['ui'];
}
if (isset($GLOBALS['ui']) && ! is_array($THEMES[$GLOBALS['ui']])) {
- $GLOBALS['ui'] = array_keys($THEMES)[0];
+ $themeKeys = array_keys($THEMES);
+ $GLOBALS['ui'] = $themeKeys[0];
}
if (isset($_SESSION['ui']) && is_array($THEMES[$_SESSION['ui']])) {
$GLOBALS['ui'] = $_SESSION['ui'];

0 comments on commit 3e0a93c

Please sign in to comment.