fixed error handling

This commit is contained in:
Roland Gruber 2006-09-09 11:46:45 +00:00
parent f70d3745fc
commit 10a9de72b8
1 changed files with 1 additions and 0 deletions

View File

@ -205,6 +205,7 @@ if ($_POST['delete']) {
if (!is_array($result)) continue;
// check for error somewhere in lamdaemon
foreach ($result as $singleresult) {
$singleresult = explode(",", $singleresult);
if (is_array($singleresult)) {
if ($singleresult[0] == 'ERROR') {
$stopprocessing = true;