2009-10-27 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php: extend the funcionality "returnError". git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2055 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
f3928cba5f
commit
0f6d7c3d22
|
@ -1,3 +1,7 @@
|
|||
2009-10-27 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_api.php: extend the funcionality "returnError".
|
||||
|
||||
2009-10-27 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_api.php: add in the function "isInACL" the posibility
|
||||
|
|
|
@ -67,6 +67,10 @@ function returnError($typeError, $returnType) {
|
|||
returnData($returnType,
|
||||
array('type' => 'string', 'data' => __('No exist id in BD.')));
|
||||
break;
|
||||
default:
|
||||
returnData('string',
|
||||
array('type' => 'string', 'data' => __($returnType)));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue