X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=php5-swig%2Fxml-template.swig;h=8a915ff4b8a7922459c813aaf2ff59fffb92982c;hb=351f3f4798d8b51c461489c2e716f7ba7ed855d1;hp=fa9e7aa81d4bf0fbb6ee4b358c885549657025f7;hpb=015976d7d24ac1ae6deb474b9d70e5703f54f449;p=xml-template diff --git a/php5-swig/xml-template.swig b/php5-swig/xml-template.swig index fa9e7aa..8a915ff 100644 --- a/php5-swig/xml-template.swig +++ b/php5-swig/xml-template.swig @@ -58,6 +58,8 @@ Directive* convert_php_objects_to_directive(zval *obj) char *str = Z_STRVAL_P(obj); return new Replace(str); } + case IS_NULL: + return NULL; default: printf("WARNING: Unknown type %d!\n", Z_TYPE_P(obj)); break;