[Vtigercrm-commits] [vtiger-commits] r7837 - in /vtigercrm/trunk: modules/Users/User.php soap/vtigerolservice.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Jul 5 04:21:56 EDT 2006


Author: richie
Date: Wed Jul  5 02:21:51 2006
New Revision: 7837

Log:
issue in ol plugin has been fixed

Modified:
    vtigercrm/trunk/modules/Users/User.php
    vtigercrm/trunk/soap/vtigerolservice.php

Modified: vtigercrm/trunk/modules/Users/User.php
==============================================================================
--- vtigercrm/trunk/modules/Users/User.php (original)
+++ vtigercrm/trunk/modules/Users/User.php Wed Jul  5 02:21:51 2006
@@ -369,7 +369,7 @@
 		$this->loadPreferencesFromDB($row['user_preferences']);
 
 
-		if ($this->status != "Inactive") $this->authenticated = true;
+		if ($row['status'] != "Inactive") $this->authenticated = true;
 
 		unset($_SESSION['loginattempts']);
 		return $this;

Modified: vtigercrm/trunk/soap/vtigerolservice.php
==============================================================================
--- vtigercrm/trunk/soap/vtigerolservice.php (original)
+++ vtigercrm/trunk/soap/vtigerolservice.php Wed Jul  5 02:21:51 2006
@@ -343,7 +343,7 @@
 	
 	if($password != "")
 	{
-		$objuser->user_name = $userid;
+		$objuser->column_fields['user_name'] = $userid;
 		$objuser->load_user($password);
 		if($objuser->is_authenticated())
 		{





More information about the vtigercrm-commits mailing list