Browse Source

Merge pull request #1364 from Oldiesmann/release-2.1

! Missing ] caused a parse error
Michael Eshom 10 years ago
parent
commit
7784674ea7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/tasks/EventNew-Notify.php

+ 1 - 1
Sources/tasks/EventNew-Notify.php

@@ -33,7 +33,7 @@ class EventNew_Notify_Background extends SMF_BackgroundTask
 		if (!empty($this->_details['sender_id']) && empty($this->_details['sender_name']))
 		{
 			loadMemberData($this->_details['sender_id'], 'minimal');
-			if (!empty($user_profile[$this->_details['sender_id']))
+			if (!empty($user_profile[$this->_details['sender_id']]))
 				$this->_details['sender_name'] = $user_profile[$this->_details['sender_id']]['real_name'];
 			else
 				$this->_details['sender_id'] = 0;