Revision: 21208 http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=21208 Author: Caeies Date: 2010-05-02 20:16:02 +0000 (Sun, 02 May 2010) Log Message: ----------- Fix for postgresql
Modified Paths: -------------- modules/polls/branches/branch_0_9_16/inc/functions.inc.php Modified: modules/polls/branches/branch_0_9_16/inc/functions.inc.php =================================================================== --- modules/polls/branches/branch_0_9_16/inc/functions.inc.php 2010-04-14 20:29:21 UTC (rev 21207) +++ modules/polls/branches/branch_0_9_16/inc/functions.inc.php 2010-05-02 20:16:02 UTC (rev 21208) @@ -144,7 +144,7 @@ $GLOBALS['phpgw']->db->query('SELECT MAX(poll_id) FROM phpgw_polls_desc',__LINE__,__FILE__); if ( $GLOBALS['phpgw']->db->next_record() ) { - $poll_id = $GLOBALS['phpgw']->db->f(0); + $poll_id = intval($GLOBALS['phpgw']->db->f(0)); } else //stop new installs looking broken { _______________________________________________ phpGroupWare-cvs mailing list phpGroupWare-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/phpgroupware-cvs