All hands for America. Added robust debugging
This commit is contained in:
parent
fc8b2096af
commit
b8db419717
|
@ -552,11 +552,13 @@ class ApiController extends Zend_Controller_Action
|
|||
return $return_hash;
|
||||
}
|
||||
|
||||
Logging::info("action: $mode");
|
||||
Logging::info("md: $md");
|
||||
if( !$file ) {
|
||||
Logging::info("action: $mode");
|
||||
Logging::info("md: $md");
|
||||
Logging::info("return: $return_hash");
|
||||
}
|
||||
|
||||
|
||||
$return_hash['fileid'] = $file->getId();
|
||||
$return_hash['fileid'] = is_null($file) ? '-1' : $file->getId();
|
||||
|
||||
return $return_hash;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue