DataObjects/Images.php
authorleon <leon@roojs.com>
Mon, 18 Dec 2023 04:08:21 +0000 (12:08 +0800)
committerleon <leon@roojs.com>
Mon, 18 Dec 2023 04:08:21 +0000 (12:08 +0800)
DataObjects/Images.php

index 9356be3..a6816ad 100644 (file)
@@ -269,9 +269,9 @@ class Pman_Core_DataObjects_Images extends DB_DataObject
 
     function staticCanFix($id)
     {
-                // look for the image in the folder, with matching id.
+        // look for the image in the folder, with matching id.
         // this is problematic..
-        $fn = $this->getStoreName();
+        $fn = self::getStoreName();
         if (file_exists($fn . '-really-missing')) {
             return false;
         }