[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [10414] typo
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [10414] typo |
Date: |
Thu, 01 Nov 2012 14:20:12 +0000 |
Revision: 10414
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10414
Author: sigurdne
Date: 2012-11-01 14:20:12 +0000 (Thu, 01 Nov 2012)
Log Message:
-----------
typo
Modified Paths:
--------------
trunk/phpgwapi/inc/class.custom_fields.inc.php
Modified: trunk/phpgwapi/inc/class.custom_fields.inc.php
===================================================================
--- trunk/phpgwapi/inc/class.custom_fields.inc.php 2012-11-01 14:19:30 UTC
(rev 10413)
+++ trunk/phpgwapi/inc/class.custom_fields.inc.php 2012-11-01 14:20:12 UTC
(rev 10414)
@@ -1244,7 +1244,7 @@
$this->_total_records =
count($this->attribute_group_tree);
$result = $this->attribute_group_tree;
- if($this->total_records == 0)
+ if($this->_total_records == 0)
{
return $result;
}
@@ -1253,7 +1253,7 @@
{
$num_rows =
isset($GLOBALS['phpgw_info']['user']['preferences']['common']['maxmatchs']) ?
(int) $GLOBALS['phpgw_info']['user']['preferences']['common']['maxmatchs']:15;
- $page = ceil( ( $start / $this->total_records )
* ($this->total_records/ $num_rows) );
+ $page = ceil( ( $start / $this->_total_records
) * ($this->_total_records/ $num_rows) );
$out = array_chunk($result, $num_rows);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [10414] typo,
Sigurd Nes <=