aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Martin <caedes@sindominio.net>2012-10-23 08:50:54 +0000
committerroot <root@migration.vz.lan>2012-10-23 08:51:08 +0000
commit148139db47cc43c9a651a841073a53bd4b503b38 (patch)
tree2e3cae77e7329ac5307107ae9e0c9c8c1ad00494
parentd2b3600e49bfac698042e39e6b6ac79124b1080e (diff)
downloadelgg-148139db47cc43c9a651a841073a53bd4b503b38.tar.gz
elgg-148139db47cc43c9a651a841073a53bd4b503b38.tar.bz2
fix checking for checked thumbnail.
-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;
}