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:
darode 2012-07-16 10:21:00 +00:00
parent b967940c41
commit 261f5d4c45
2 changed files with 8 additions and 3 deletions

View File

@ -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> 2012-07-16 Miguel de Dios <miguel.dedios@artica.es>
* extensions/agents_modules.php, extensions/users_connected.php, * extensions/agents_modules.php, extensions/users_connected.php,

View File

@ -895,15 +895,15 @@ if ($create_module) {
if (is_error($id_agent_module)) { if (is_error($id_agent_module)) {
switch($id_agent_module) { switch($id_agent_module) {
case ERR_EXIST: 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; break;
case ERR_INCOMPLETE: 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; break;
case ERR_DB: case ERR_DB:
case ERR_GENERIC: case ERR_GENERIC:
default: default:
$msg __('There was a problem adding module. Processing error'); $msg = __('There was a problem adding module. Processing error');
break; break;
} }
$id_agent_module = false; $id_agent_module = false;