mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-28 22:54:12 +01:00
N°8772 - compilation of choices values
This commit is contained in:
@@ -78,10 +78,4 @@ abstract class AbstractProperty
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public function QuoteForPHP(string $sValue): string
|
||||
{
|
||||
$sEscaped = str_replace(['\\', "'"], ['\\\\', "\\'"], $sValue);
|
||||
return "'$sEscaped'";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user