summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/admin_maintenance.php
diff options
context:
space:
mode:
authorNathan Kinkade <nkinkade@nkinka.de>2010-01-23 22:21:37 +0000
committerNathan Kinkade <nkinkade@nkinka.de>2010-01-23 22:21:37 +0000
commitb21e7be11a0abe57790ec2a2fcca1874632fed8c (patch)
tree63cca83318d4f80914b6b90bbd9063ff5dabc6ea /modules/gallery/controllers/admin_maintenance.php
parente47505081f2c1017a68f763e1170b44fddd1e722 (diff)
parentabdeb21ccbb25aee564335dbbfca4a8afaf49384 (diff)
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'modules/gallery/controllers/admin_maintenance.php')
-rw-r--r--modules/gallery/controllers/admin_maintenance.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/controllers/admin_maintenance.php b/modules/gallery/controllers/admin_maintenance.php
index 213e4fe2..aa4fb29f 100644
--- a/modules/gallery/controllers/admin_maintenance.php
+++ b/modules/gallery/controllers/admin_maintenance.php
@@ -216,7 +216,7 @@ class Admin_Maintenance_Controller extends Admin_Controller {
"task" => array(
"percent_complete" => $task->percent_complete,
"status" => $task->status,
- "done" => $task->done),
+ "done" => (bool) $task->done),
"location" => url::site("admin/maintenance")));
} else {
@@ -224,7 +224,7 @@ class Admin_Maintenance_Controller extends Admin_Controller {
"task" => array(
"percent_complete" => $task->percent_complete,
"status" => $task->status,
- "done" => $task->done)));
+ "done" => (bool) $task->done)));
}
}
}