mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
return true in case of succees
This commit is contained in:
parent
e31c532c68
commit
b54eb4dc61
|
@ -68,6 +68,7 @@ class SeedDMS_Controller_Preview extends SeedDMS_Controller_Common {
|
|||
}
|
||||
header('Content-Type: image/png');
|
||||
$previewer->getPreview($content);
|
||||
return true;
|
||||
}
|
||||
} /* }}} */
|
||||
|
||||
|
@ -106,6 +107,7 @@ class SeedDMS_Controller_Preview extends SeedDMS_Controller_Common {
|
|||
}
|
||||
header('Content-Type: image/png');
|
||||
$previewer->getPreview($object);
|
||||
return true;
|
||||
}
|
||||
} /* }}} */
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user