We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 017bac9 commit 2e0debeCopy full SHA for 2e0debe
1 file changed
src/app/code/community/FireGento/AdminMonitoring/Block/Adminhtml/History/View/Detail.php
@@ -51,12 +51,12 @@ public function getMonitoringHelper()
51
/**
52
* Retrieve the admin user model
53
*
54
- * @return string
+ * @return Mage_Admin_Model_User|bool
55
*/
56
public function getAdminUser()
57
{
58
$user = Mage::getModel('admin/user')->load($this->getHistory()->getUserId());
59
- if (!$user) {
+ if (!$user->getId()) {
60
return false;
61
}
62
0 commit comments