projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed a condition for error return on file put.
[timetracker.git]
/
WEB-INF
/
lib
/
ttFileHelper.class.php
diff --git
a/WEB-INF/lib/ttFileHelper.class.php
b/WEB-INF/lib/ttFileHelper.class.php
index
b976ba1
..
7c8324b
100644
(file)
--- a/
WEB-INF/lib/ttFileHelper.class.php
+++ b/
WEB-INF/lib/ttFileHelper.class.php
@@
-167,7
+167,7
@@
class ttFileHelper {
$file_key = $result_array['file_key'];
$error = $result_array['error'];
- if (!$file_id || !$file_key) {
+ if (
$error ||
!$file_id || !$file_key) {
if ($error) {
// Add an error from file storage facility if we have it.
$this->errors->add($error);