summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Radi <phanto@php.net>2002-03-15 20:54:35 +0000
committerHarald Radi <phanto@php.net>2002-03-15 20:54:35 +0000
commit30d72b04b517bbf281f0c84c6a438e7729d4e6fc (patch)
tree06fd50f0f18892812d4b5d7e0d1c5d2e6d836ab5
parent663b24770086bd7a6c9193f963f90d8639b6d8f0 (diff)
downloadphp-git-30d72b04b517bbf281f0c84c6a438e7729d4e6fc.tar.gz
MFH
-rw-r--r--ext/com/COM.c2
-rw-r--r--ext/rpc/com/com_wrapper.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/ext/com/COM.c b/ext/com/COM.c
index 2e7dd0e1b7..854bd6be13 100644
--- a/ext/com/COM.c
+++ b/ext/com/COM.c
@@ -1172,6 +1172,7 @@ PHP_FUNCTION(com_propget)
obj = (comval *)zend_list_find(Z_LVAL_P(arg_comval), &type);
if (!obj || (type != IS_COM)) {
php_error(E_WARNING,"%d is not a COM object handler", Z_LVAL_P(arg_comval));
+ RETURN_FALSE;
}
convert_to_string_ex(&arg_property);
@@ -1205,6 +1206,7 @@ PHP_FUNCTION(com_propput)
obj = (comval *)zend_list_find(Z_LVAL_P(arg_comval), &type);
if (!obj || (type != IS_COM)) {
php_error(E_WARNING,"%d is not a COM object handler", Z_LVAL_P(arg_comval));
+ RETURN_FALSE;
}
convert_to_string_ex(&arg_property);
diff --git a/ext/rpc/com/com_wrapper.c b/ext/rpc/com/com_wrapper.c
index 2e7dd0e1b7..854bd6be13 100644
--- a/ext/rpc/com/com_wrapper.c
+++ b/ext/rpc/com/com_wrapper.c
@@ -1172,6 +1172,7 @@ PHP_FUNCTION(com_propget)
obj = (comval *)zend_list_find(Z_LVAL_P(arg_comval), &type);
if (!obj || (type != IS_COM)) {
php_error(E_WARNING,"%d is not a COM object handler", Z_LVAL_P(arg_comval));
+ RETURN_FALSE;
}
convert_to_string_ex(&arg_property);
@@ -1205,6 +1206,7 @@ PHP_FUNCTION(com_propput)
obj = (comval *)zend_list_find(Z_LVAL_P(arg_comval), &type);
if (!obj || (type != IS_COM)) {
php_error(E_WARNING,"%d is not a COM object handler", Z_LVAL_P(arg_comval));
+ RETURN_FALSE;
}
convert_to_string_ex(&arg_property);