From: x2000habouzit Date: Mon, 15 Nov 2004 10:39:18 +0000 (+0000) Subject: backport X-Git-Tag: xorg/old~935 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=ee200ab7ec093690187695ed4217e6ab92a81884;p=platal.git backport --- diff --git a/include/trombi.inc.php b/include/trombi.inc.php index dc37f4a..10d8a92 100644 --- a/include/trombi.inc.php +++ b/include/trombi.inc.php @@ -18,7 +18,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: trombi.inc.php,v 1.4 2004-11-02 07:48:41 x2000habouzit Exp $ + $Id: trombi.inc.php,v 1.5 2004-11-15 10:39:18 x2000habouzit Exp $ ***************************************************************************/ require_once('xorg.plugin.inc.php'); @@ -39,7 +39,7 @@ class Trombi extends XOrgPlugin { */ global $page; - $offset = $this->get_value('offset'); + $offset = intval($this->get_value('offset')); list($total, $list) = call_user_func($this->_callback, $offset, $this->limit); $page_max = intval(($total-1)/$this->limit);