Permalink
Browse files

Fixed issue with references not being properly passed to plugin funct…

…ions. Closes #4
  • Loading branch information...
1 parent 33ec566 commit 0e7dea92deb6bdad880b5058d4510dccc6643e23 @masterexploder committed Jan 26, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ThumbBase.inc.php
View
2 src/ThumbBase.inc.php
@@ -208,7 +208,7 @@ public function __call ($method, $args)
{
if( array_key_exists($method, $this->importedFunctions))
{
- $args[] = $this;
+ $args[] =& $this;
return call_user_func_array(array($this->importedFunctions[$method], $method), $args);
}

0 comments on commit 0e7dea9

Please sign in to comment.