mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-24 14:11:29 +01:00
Fixed the search capability
This commit is contained in:
parent
0c29077d4a
commit
898a4bfca7
@ -86,10 +86,10 @@
|
|||||||
else
|
else
|
||||||
$query_result++;
|
$query_result++;
|
||||||
$phpgw->db->query("SELECT con FROM newsgroups "
|
$phpgw->db->query("SELECT con FROM newsgroups "
|
||||||
."WHERE name LIKE '%".$query."%'$orderby LIMIT "
|
."WHERE name LIKE '%$query%'$orderby LIMIT "
|
||||||
.$phpgw->nextmatchs->sql_limit($query_result));
|
.$phpgw->nextmatchs->sql_limit($query_result));
|
||||||
$phpgw->db->next_record();
|
$phpgw->db->next_record();
|
||||||
$start = $phpgw->db->f("con");
|
$start = $phpgw->db->f("con") - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
$urlname = $phpgw_info["server"]["webserver_url"]."/admin/nntp.php";
|
$urlname = $phpgw_info["server"]["webserver_url"]."/admin/nntp.php";
|
||||||
|
Loading…
Reference in New Issue
Block a user