Use single-quotes instead of double
authorRoland Häder <roland@mxchange.org>
Wed, 30 May 2012 21:25:08 +0000 (21:25 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 30 May 2012 21:25:08 +0000 (21:25 +0000)
inc/classes/main/database/databases/class_LocalFileDatabase.php

index b093a9d846034353125bc0819b1e1feda7eccec2..6d54d6462a9ee8bc506968d1d5b3782ecbf09a92 100644 (file)
@@ -458,7 +458,7 @@ class LocalFileDatabase extends BaseDatabaseFrontend implements DatabaseFrontend
                        $searchInstance = $dataSetInstance->getSearchInstance();
 
                        // Read the directory with some exceptions
-                       while (($dataFile = $directoryInstance->readDirectoryExcept(array('.', '..', '.htaccess', '.svn', "info." . $this->getFileExtension()))) && ($limitFound < $searchInstance->getLimit())) {
+                       while (($dataFile = $directoryInstance->readDirectoryExcept(array('.', '..', '.htaccess', '.svn', 'info.' . $this->getFileExtension()))) && ($limitFound < $searchInstance->getLimit())) {
                                // Does the extension match?
                                if (substr($dataFile, -(strlen($this->getFileExtension()))) !== $this->getFileExtension()) {
                                        // Skip this file!