Skip to content
Permalink
Browse files

Issue #133: Can't Login to Admin account – PHP Fatal error – PHP 7.2

  • Loading branch information...
craigk5n committed Feb 28, 2019
1 parent 78a5b06 commit bf4eaa44c8c1a0e30701227d409c8d35a65aad82
Showing with 1 addition and 1 deletion.
  1. +1 −1 includes/functions.php
@@ -4252,8 +4252,8 @@ function load_user_preferences ( $guest = '' ) {
&& ! access_can_access_function( ACCESS_VIEW, $guest ) ) )
? '' : ' OR cal_is_global = \'Y\' ' )
. 'ORDER BY cal_name', [$tmp_login] );
$views = [];
if ( $rows ) {
$views = [];
for ( $i = 0, $cnt = count ( $rows ); $i < $cnt; $i++ ) {
$row = $rows[$i];
$url = 'view_';

0 comments on commit bf4eaa4

Please sign in to comment.
You can’t perform that action at this time.