[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [websites/identity-kde-org] protected/controllers: Explicitly request the locked attribute
From:       Ben Cooksley <bcooksley () kde ! org>
Date:       2012-08-18 14:08:58
Message-ID: 20120818140858.8D109A6094 () git ! kde ! org
[Download RAW message or body]

Git commit 98711ad87936c9658f118aa1029880ccc53dd740 by Ben Cooksley.
Committed on 18/08/2012 at 16:08.
Pushed by bcooksley into branch 'master'.

Explicitly request the locked attribute

M  +1    -1    protected/controllers/PeopleController.php

http://commits.kde.org/websites/identity-kde-org/98711ad87936c9658f118aa1029880ccc53dd740

diff --git a/protected/controllers/PeopleController.php b/protected/controllers/PeopleController.php
index 958afc8..b2bed9d 100644
--- a/protected/controllers/PeopleController.php
+++ b/protected/controllers/PeopleController.php
@@ -105,7 +105,7 @@ class PeopleController extends Controller
 	 */
 	public function actionView($uid)
 	{
-		$model =  $this->loadModel($uid);
+		$model =  $this->loadModel($uid, array('pwdAccountLockedTime', '*'));
 
 		$groupData = new CArrayDataProvider($model->groups->entries(), array('keyField' => false));
 		$this->render('view', array(
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic