X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fui%2Fcontacts_view.inc;h=23474adc9e32aca2d66b90f06189569d24a13f87;hb=af03975abbd624d17cc6c4f61b71808a0a5c82ea;hp=8ad1496a439483dba84e7f3df20267265473cc1c;hpb=19ddc3939071044c8e94b628f1d6a039f50cc493;p=fa-stable.git diff --git a/includes/ui/contacts_view.inc b/includes/ui/contacts_view.inc index 8ad1496a..23474adc 100644 --- a/includes/ui/contacts_view.inc +++ b/includes/ui/contacts_view.inc @@ -48,7 +48,7 @@ class contacts extends simple_crud { while ($last) { - if ($myrow['id'] != $last['id']) { + if (@$myrow['id'] != $last['id']) { alt_table_row_color($k); label_cell(implode('
',$description)); label_cell($last["ref"]); @@ -134,7 +134,7 @@ class contacts extends simple_crud { set_focus('ref'); return false; } - if (count(@$_POST['assgn']) == 0) { + if (count_array(@$_POST['assgn']) == 0) { display_error(_("You have to select at least one category.")); set_focus('assgn'); return false;