Browse Source

null coalesce another thing

spaghetti 9 years ago
parent
commit
3c44c3aa64
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      sections/error/index.php

+ 1
- 1
sections/error/index.php View File

42
       }
42
       }
43
   }
43
   }
44
 
44
 
45
-  if (isset($Log)) {
45
+  if ($Log ?? false) {
46
     $Description .= ' <a href="log.php?search='.$Log.'">Search Log</a>';
46
     $Description .= ' <a href="log.php?search='.$Log.'">Search Log</a>';
47
   }
47
   }
48
 
48
 

Loading…
Cancel
Save