mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-19 16:02:15 +00:00
- Cleaned the controllers by moving the database related code and more complex logic
in the models or libraries - DmsLib bug fix - Person_model bug fix
This commit is contained in:
@@ -119,7 +119,7 @@ class DmsLib
|
||||
{
|
||||
$filename = uniqid() . "." . pathinfo($dms["name"], PATHINFO_EXTENSION);
|
||||
|
||||
return $this->ci->DmsFSModel->write($filename, $dms["file_content"]);
|
||||
$result = $this->ci->DmsFSModel->write($filename, $dms["file_content"]);
|
||||
if (is_object($result) && $result->error == EXIT_SUCCESS)
|
||||
{
|
||||
$result->retval = $filename;
|
||||
|
||||
Reference in New Issue
Block a user