DataObjects/Images.php
authorAlan Knowles <alan@akbkhome.com>
Wed, 29 Feb 2012 10:31:46 +0000 (18:31 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 29 Feb 2012 10:31:46 +0000 (18:31 +0800)
DataObjects/Images.php

index b845c54..61f4bbd 100644 (file)
@@ -448,7 +448,7 @@ class Pman_Core_DataObjects_Images extends DB_DataObject
         
         if (!empty($ar['_copy_from'])) {
             
-            if (!$this->checkPerm( 'A' , $this->authUser))  {
+            if (!$this->checkPerm( 'A' , $roo->authUser))  {
                 $roo->jerr("IMAGE UPLOAD PERMISSION DENIED");
             }