|
From: <tim...@us...> - 2010-12-26 12:45:52
|
Revision: 4450
http://web-erp.svn.sourceforge.net/web-erp/?rev=4450&view=rev
Author: tim_schofield
Date: 2010-12-26 12:45:46 +0000 (Sun, 26 Dec 2010)
Log Message:
-----------
Correction to recent changes in UserLogin.php which were preventing the DisplayRecordsMax session variable being set
Modified Paths:
--------------
trunk/includes/UserLogin.php
Modified: trunk/includes/UserLogin.php
===================================================================
--- trunk/includes/UserLogin.php 2010-12-26 12:45:31 UTC (rev 4449)
+++ trunk/includes/UserLogin.php 2010-12-26 12:45:46 UTC (rev 4450)
@@ -84,7 +84,7 @@
$_SESSION['PDFLanguage'] = '0'; //default to latin western languages
}
- if ($myrow[10] > 0) {
+ if ($myrow['displayrecordsmax'] > 0) {
$_SESSION['DisplayRecordsMax'] = $myrow['displayrecordsmax'];
} else {
$_SESSION['DisplayRecordsMax'] = $_SESSION['DefaultDisplayRecordsMax']; // default comes from config.php
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|