Skip to content

Commit 2e0debe

Browse files
committed
[TASK] Minor block change
1 parent 017bac9 commit 2e0debe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/app/code/community/FireGento/AdminMonitoring/Block/Adminhtml/History/View

src/app/code/community/FireGento/AdminMonitoring/Block/Adminhtml/History/View/Detail.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@ public function getMonitoringHelper()
5151
/**
5252
* Retrieve the admin user model
5353
*
54-
* @return string
54+
* @return Mage_Admin_Model_User|bool
5555
*/
5656
public function getAdminUser()
5757
{
5858
$user = Mage::getModel('admin/user')->load($this->getHistory()->getUserId());
59-
if (!$user) {
59+
if (!$user->getId()) {
6060
return false;
6161
}
6262

0 commit comments

Comments
 (0)