Hot-fix for mismatching lens from database
authorChristian Aistleitner <christian@quelltextlich.at>
Fri, 20 Apr 2012 12:45:13 +0000 (14:45 +0200)
committerChristian Aistleitner <christian@quelltextlich.at>
Wed, 25 Apr 2012 09:58:52 +0000 (11:58 +0200)
Change-Id: Idb58ce271d514f6f335877af1e0e4149ab337fef

maintenance/backupTextPass.inc

index 6752166..acf4a10 100644 (file)
@@ -444,6 +444,13 @@ class TextPassDumper extends BackupDumper {
                                        } else {
                                                $text = $this->getTextDb( $id );
                                        }
+
+                                       // No more checks for texts from DB for now.
+                                       // If we received something that is not false,
+                                       // We treat it as good text, regardless of whether it actually is or is not
+                                       if ( $text !== false ) {
+                                               return $text;
+                                       }
                                }
 
                                if ( $text === false ) {