summaryrefslogtreecommitdiff
path: root/ext/standard/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/exec.c')
-rw-r--r--ext/standard/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/exec.c b/ext/standard/exec.c
index df0d3f9cd8..50de415568 100644
--- a/ext/standard/exec.c
+++ b/ext/standard/exec.c
@@ -196,7 +196,7 @@ static int _Exec(int type, char *cmd, pval *array, pval *return_value)
if (PG(magic_quotes_runtime) && type!=3) {
int len;
- tmp = _php3_addslashes(buf, 0, &len, 0);
+ tmp = php_addslashes(buf, 0, &len, 0);
RETVAL_STRINGL(tmp,len,0);
} else {
RETVAL_STRING(buf,1);