summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/task.php
diff options
context:
space:
mode:
authorRomain LE DISEZ <romain.git@ledisez.net>2009-07-22 08:38:06 +0200
committerRomain LE DISEZ <romain.git@ledisez.net>2009-07-22 08:38:06 +0200
commit317b7b98c094386407251c2baf8f6e7c391c7bff (patch)
tree98898d791df3a10cf6f9c1c62fbce06d8c9a7de1 /modules/gallery/helpers/task.php
parent00b3ca82de3a4858745988943a46d07b1c0fd006 (diff)
parentf533aee1cc71e8db739406859ac0cf43dce030ec (diff)
Merge commit 'upstream/master'
Diffstat (limited to 'modules/gallery/helpers/task.php')
-rw-r--r--modules/gallery/helpers/task.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/task.php b/modules/gallery/helpers/task.php
index 6a9f63c2..352fe522 100644
--- a/modules/gallery/helpers/task.php
+++ b/modules/gallery/helpers/task.php
@@ -87,7 +87,7 @@ class task_Core {
$task->log($e->__toString());
$task->state = "error";
$task->done = true;
- $task->status = $e->getMessage();
+ $task->status = substr($e->getMessage(), 0, 255);
$task->save();
}