diff options
Diffstat (limited to 'src/ste/Parser.php')
-rw-r--r-- | src/ste/Parser.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ste/Parser.php b/src/ste/Parser.php index 5e5ef0a..7226c60 100644 --- a/src/ste/Parser.php +++ b/src/ste/Parser.php @@ -89,7 +89,7 @@ class Parser { private function take_while($cb) { $s = ""; - while($c = $this->next()) { + while(($c = $this->next()) !== "") { if(!call_user_func($cb, $c)) { $this->back(); return $s; |