fix warning in FML
This commit is contained in:
parent
8f6e98ad46
commit
75866b6954
@ -47,7 +47,7 @@ abstract class Builder
|
||||
* @param bool $addApostrophes (optional) Add apostrophes before and after the text
|
||||
* @return string
|
||||
*/
|
||||
public static function escapeText($text, $addApostrophes = true)
|
||||
public static function escapeText($text = "", $addApostrophes = true)
|
||||
{
|
||||
$dangers = array('\\', '"', "\n");
|
||||
$replacements = array('\\\\', '\\"', '\\n');
|
||||
|
Loading…
Reference in New Issue
Block a user