projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Trying to access array offset on value of type bool. Fixed.
[fa-stable.git]
/
includes
/
ui
/
contacts_view.inc
diff --git
a/includes/ui/contacts_view.inc
b/includes/ui/contacts_view.inc
index 8ad1496a439483dba84e7f3df20267265473cc1c..23474adc9e32aca2d66b90f06189569d24a13f87 100644
(file)
--- a/
includes/ui/contacts_view.inc
+++ b/
includes/ui/contacts_view.inc
@@
-48,7
+48,7
@@
class contacts extends simple_crud {
while ($last)
{
while ($last)
{
- if ($myrow['id'] != $last['id']) {
+ if (
@
$myrow['id'] != $last['id']) {
alt_table_row_color($k);
label_cell(implode('<br>',$description));
label_cell($last["ref"]);
alt_table_row_color($k);
label_cell(implode('<br>',$description));
label_cell($last["ref"]);
@@
-134,7
+134,7
@@
class contacts extends simple_crud {
set_focus('ref');
return false;
}
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;
display_error(_("You have to select at least one category."));
set_focus('assgn');
return false;