XMPValidate: fix undefined variable for logger
authorSouthparkfan <southparkfan223@hotmail.com>
Mon, 1 Feb 2016 13:01:58 +0000 (14:01 +0100)
committerSouthparkfan <southparkfan223@hotmail.com>
Mon, 1 Feb 2016 13:01:58 +0000 (14:01 +0100)
Change-Id: I8903e89bd93ef62236023fb07d78ade722eb102a

includes/media/XMPValidate.php

index 519c420..e1f69db 100644 (file)
@@ -70,7 +70,7 @@ class XMPValidate implements LoggerAwareInterface {
                        return;
                }
                if ( $val !== 'True' && $val !== 'False' ) {
-                       $this->debug->info( __METHOD__ . " Expected True or False but got $val" );
+                       $this->logger->info( __METHOD__ . " Expected True or False but got $val" );
                        $val = null;
                }
        }