aboutsummaryrefslogtreecommitdiff
path: root/upgrades/2012022501.php
diff options
context:
space:
mode:
Diffstat (limited to 'upgrades/2012022501.php')
-rw-r--r--upgrades/2012022501.php4
1 files changed, 2 insertions, 2 deletions
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;
}