Skip to content

Commit a904da2

Browse files
committed
Add missing isset() before variable access
1 parent bce6806 commit a904da2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helper/handler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public function resolveMoves($old, $type) {
9494
}
9595
}
9696
}
97-
if ($tempColon) {
97+
if (isset($tempColon) && $tempColon) {
9898
$old = substr($old,1);
9999
}
100100
return $old; // this is now new

0 commit comments

Comments
 (0)