Hi
Still having some problems, when search my userlist.
When i search on some fields and there are no results to give back i get the messages: Warning: Invalid argument supplied for foreach() in /customers/vathorstmakelaar.com/vathorstmakelaar.com/httpd.www/components/com_cb_search/cb_search.html.php on line 454
So i have tried to fix this, by setting:
if ( $user ) foreach ( $users as $user ) {
The error messages is fixed, but when i am searching on a field that must give a result id dont get anything back? Can some body help out?
See the code:
<?php
$i = 1;
if ( $user ) foreach ( $users as $user ) {
$evenodd = $i % 2;
if ($evenodd == 0) {
$class = "sectiontableentry1";
} else {
$class = "sectiontableentry2";