Browse Source

cleanup

pull/110/head
Aaron Parecki 5 years ago
parent
commit
b71c31f7bb
No known key found for this signature in database GPG Key ID: 276C2817346D6056
  1. 2
      lib/helpers.php

2
lib/helpers.php

@ -47,7 +47,7 @@ function profile($key) {
return null;
}
$auth = session('auth');
if ( array_key_exists('profile', $auth) && array_key_exists($key, $auth['profile'] ) ) {
if(isset($auth['profile'][$key])) {
return $auth['profile'][$key];
}
return null;

Loading…
Cancel
Save