diff options
Diffstat (limited to 'src/object.cpp')
-rw-r--r-- | src/object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object.cpp b/src/object.cpp index a0777fe..05449bc 100644 --- a/src/object.cpp +++ b/src/object.cpp @@ -37,7 +37,7 @@ Object::Object(const char *name, Base *base) if (!entry) throw Php::Exception(std::string("Unknown class name ") + name); // store the object in the php object cache (this will give the object a handle) - base->store(entry); + base->store(entry TSRMLS_CC); // now we can store it operator=(Value(base)); |