Remove the single quote
Remove backslash as it didn't work
This commit is contained in:
@@ -103,9 +103,14 @@
|
|||||||
return $exists;
|
return $exists;
|
||||||
}
|
}
|
||||||
|
|
||||||
//escape single quote with a back slash and single quote
|
//remove single quote
|
||||||
function escape_quote($value) {
|
function escape_quote($value) {
|
||||||
return str_replace("'", "\'", $value);
|
if (!empty($value)) {
|
||||||
|
return str_replace("'", "", $value);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//check to see if the process exists
|
//check to see if the process exists
|
||||||
|
|||||||
Reference in New Issue
Block a user