2010-07-13 Miguel de Dios <miguel.dedios@artica.es>

* godmode/modules/manage_network_templates_form.php: fixed the error
	message when update with nothing a template (0 rows to update) .



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3004 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2010-07-14 09:37:23 +00:00
parent 6b4c1b29c7
commit 53368bf4e9
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2010-07-13 Miguel de Dios <miguel.dedios@artica.es>
* godmode/modules/manage_network_templates_form.php: fixed the error
message when update with nothing a template (0 rows to update) .
2010-07-13 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_filemanager.php: changed the form to upload one or more

View File

@ -72,8 +72,8 @@ if (isset ($_GET["create"]) || isset ($_GET["update"])) {
if ($id_np > 0) {
//Profile exists
$sql = sprintf ("UPDATE tnetwork_profile SET name = '%s', description = '%s' WHERE id_np = %d", $name, $description, $id_np);
$result = process_sql ($sql);
print_result_message ($result,
$result = process_sql ($sql);
print_result_message ($result !== false,
__('Successfully updated network profile'),
__('Error updating network profile'));
} else {