Skip to content

Commit cf9fd94

Browse files
committed
fix E_NOTICE on manual-lookup.php when no function passed
1 parent ee6c0e8 commit cf9fd94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/errors.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ $snippets = array(
475475
);
476476

477477
$term = strtolower(trim($term));
478-
if ($term[0] === '$') {
478+
if (isset($term[0]) && $term[0] === '$') {
479479
$term = ltrim($term, '$');
480480
}
481481

0 commit comments

Comments
 (0)