summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/session/session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/session/session.c b/ext/session/session.c
index 29bc9466c2..8b6be415ab 100644
--- a/ext/session/session.c
+++ b/ext/session/session.c
@@ -98,7 +98,7 @@ static PHP_INI_MH(OnUpdateSaveHandler)
#if 0
if(!PS(mod)) {
- php_error_docref(E_ERROR, "Cannot find save handler %s", new_value);
+ php_error_docref(NULL TSRMLS_CC, E_ERROR, "Cannot find save handler %s", new_value);
}
#endif
return SUCCESS;
@@ -119,7 +119,7 @@ static PHP_INI_MH(OnUpdateSerializer)
#if 0
if(!PS(serializer)) {
- php_error_docref(E_ERROR, "Cannot find serialization handler %s", new_value);
+ php_error_docref(NULL TSRMLS_CC, E_ERROR, "Cannot find serialization handler %s", new_value);
}
#endif
return SUCCESS;