From 148139db47cc43c9a651a841073a53bd4b503b38 Mon Sep 17 00:00:00 2001 From: Pablo Martin Date: Tue, 23 Oct 2012 08:50:54 +0000 Subject: fix checking for checked thumbnail. --- upgrades/2012022501.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'upgrades') diff --git a/upgrades/2012022501.php b/upgrades/2012022501.php index 50102e875..4118744ed 100644 --- a/upgrades/2012022501.php +++ b/upgrades/2012022501.php @@ -34,7 +34,7 @@ foreach ($items as $item) { function videolist_2012022501($item) { // do not upgrade videos that have already been upgraded - if ($item->thumbnail === true) { + if ($item->thumbnail === 1) { return true; } @@ -51,7 +51,7 @@ function videolist_2012022501($item) { $filehandler->write($thumbnail); $filehandler->close(); - $item->thumbnail = true; + $item->thumbnail = 1; return true; } -- cgit v1.2.3