[21197] Fix: minor fix 4746:5203

Sigurd Nes <[email protected]> Wed, 14 Apr 2010 19:29:12 +0000
Newsgroups gmane.comp.web.phpgroupware.cvs
Message-ID <[email protected]>
Revision: 21197
          http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=21197
Author:   sigurdne
Date:     2010-04-14 19:29:11 +0000 (Wed, 14 Apr 2010)
Log Message:
-----------
Fix: minor fix 4746:5203

Modified Paths:
--------------
    people/sigurdne/modules/phpgwapi/trunk/inc/class.nextmatchs_xslt.inc.php

Modified: people/sigurdne/modules/phpgwapi/trunk/inc/class.nextmatchs_xslt.inc.php
===================================================================
--- people/sigurdne/modules/phpgwapi/trunk/inc/class.nextmatchs_xslt.inc.php	2010-04-14 19:27:02 UTC (rev 21196)
+++ people/sigurdne/modules/phpgwapi/trunk/inc/class.nextmatchs_xslt.inc.php	2010-04-14 19:29:11 UTC (rev 21197)
@@ -113,7 +113,7 @@
 				'img_width'			=> $GLOBALS['phpgw_info']['user']['preferences']['common']['template_set'] == 'funkwerk' ? '' : '12',
 				'img_height'		=> $GLOBALS['phpgw_info']['user']['preferences']['common']['template_set'] == 'funkwerk' ? '' : '12',
 				'allow_all_rows'	=> isset($values['allow_all_rows']) ? true : false,
-				'allrows'			=> isset($values['allrows']) ? true : false,
+				'allrows'			=> isset($values['allrows']) && $values['allrows'] ? true : false,
 				'start_record'		=> $start,
 				'record_limit'		=> $this->maxmatches,
 				'num_records'		=> (int) $values['num_records'],