diff --git a/htdocs/comm/people.php3 b/htdocs/comm/people.php3 index 31e1cd61fde..b77a260844a 100644 --- a/htdocs/comm/people.php3 +++ b/htdocs/comm/people.php3 @@ -69,13 +69,14 @@ if ($action == 'update') } } -/* - * - * - */ - llxHeader(); +if ($page == -1) { $page = 0 ; } +$limit = 26; +$offset = $limit * $page ; +$pageprev = $page - 1; +$pagenext = $page + 1; + if ($socid > 0) { @@ -225,7 +226,7 @@ if ($socid > 0) print "FaxEmail"; $sql = "SELECT a.id, ".$db->pdate("a.datea")." as da, c.libelle, u.code, a.propalrowid, a.fk_user_author, fk_contact, u.rowid "; - $sql .= " FROM llx_actioncomm as a, c_actioncomm as c, llx_user as u "; + $sql .= " FROM actioncomm as a, c_actioncomm as c, llx_user as u "; $sql .= " WHERE a.fk_soc = $objsoc->idp "; $sql .= " AND u.rowid = a.fk_user_author"; $sql .= " AND c.id=a.fk_action ";