mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-25 23:05:30 +02:00
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
df0fa90164
commit
cc918d69d5
@ -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>
|
2009-10-27 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* include/functions_api.php: add in the function "isInACL" the posibility
|
* include/functions_api.php: add in the function "isInACL" the posibility
|
||||||
|
@ -67,6 +67,10 @@ function returnError($typeError, $returnType) {
|
|||||||
returnData($returnType,
|
returnData($returnType,
|
||||||
array('type' => 'string', 'data' => __('No exist id in BD.')));
|
array('type' => 'string', 'data' => __('No exist id in BD.')));
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
returnData('string',
|
||||||
|
array('type' => 'string', 'data' => __($returnType)));
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user