2012-07-16 Dario Rodriguez <dario.rodriguez@artica.es>
* godmode/agentes/configurar_agente.php: Fixed a bug with variable allocation. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6774 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
23cccf20ed
commit
7c59bdbeb4
|
@ -1,3 +1,8 @@
|
|||
2012-07-16 Dario Rodriguez <dario.rodriguez@artica.es>
|
||||
|
||||
* godmode/agentes/configurar_agente.php: Fixed a bug
|
||||
with variable allocation.
|
||||
|
||||
2012-07-16 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* extensions/agents_modules.php, extensions/users_connected.php,
|
||||
|
|
|
@ -895,15 +895,15 @@ if ($create_module) {
|
|||
if (is_error($id_agent_module)) {
|
||||
switch($id_agent_module) {
|
||||
case ERR_EXIST:
|
||||
$msg __('There was a problem adding module. Another module already exists with the same name.');
|
||||
$msg = __('There was a problem adding module. Another module already exists with the same name.');
|
||||
break;
|
||||
case ERR_INCOMPLETE:
|
||||
$msg __('There was a problem adding module. Some required fields are missed : (name)');
|
||||
$msg = __('There was a problem adding module. Some required fields are missed : (name)');
|
||||
break;
|
||||
case ERR_DB:
|
||||
case ERR_GENERIC:
|
||||
default:
|
||||
$msg __('There was a problem adding module. Processing error');
|
||||
$msg = __('There was a problem adding module. Processing error');
|
||||
break;
|
||||
}
|
||||
$id_agent_module = false;
|
||||
|
|
Loading…
Reference in New Issue