From 0e045c230ff477392c3edf3d7a7d6668365b9fda Mon Sep 17 00:00:00 2001 From: Christian Aistleitner Date: Fri, 20 Apr 2012 14:45:13 +0200 Subject: [PATCH] Hot-fix for mismatching lens from database Change-Id: Idb58ce271d514f6f335877af1e0e4149ab337fef --- maintenance/backupTextPass.inc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/maintenance/backupTextPass.inc b/maintenance/backupTextPass.inc index 675216682c..acf4a10e1a 100644 --- a/maintenance/backupTextPass.inc +++ b/maintenance/backupTextPass.inc @@ -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 ) { -- 2.20.1