Skip to content

Commit

Permalink
More fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
terabytesoftw committed Oct 17, 2023
1 parent aa385d6 commit 699a09c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LuaScriptBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ private function quoteValue($str)
return $str;
}

return "'" . addcslashes($str, "\000\n\r\\\032\047") . "'";
return "'" . addcslashes((string) $str, "\000\n\r\\\032\047") . "'";
}

/**
Expand Down

0 comments on commit 699a09c

Please sign in to comment.