2013-09-25 Miguel de Dios <miguel.dedios@artica.es>

* extensions/update_manager/lib/libupdate_manager_client.php: fixed
	when the response it is 0 instead the false value.
	
	MERGED FROM THE BRANCH PANDORA_4.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8812 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2013-09-25 11:58:36 +00:00
parent f132f1eeab
commit 920287f125
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2013-09-25 Miguel de Dios <miguel.dedios@artica.es>
* extensions/update_manager/lib/libupdate_manager_client.php: fixed
when the response it is 0 instead the false value.
MERGED FROM THE BRANCH PANDORA_4.0
2013-09-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_modules.php: made more easy the merge with the

View File

@ -142,7 +142,7 @@ function um_client_get_package ($settings, $user_key) {
$settings->proxy_pass,
'get_next_package', $params);
if ($result === false)
if (empty($result))
return false;
$value = $result->value ();