瀏覽代碼

As suggested by John renamed the hook in prepareDisplayContext

Signed-off-by: emanuele <[email protected]>
emanuele 12 年之前
父節點
當前提交
47e180cb70
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Sources/Display.php

+ 1 - 1
Sources/Display.php

@@ -1275,7 +1275,7 @@ function prepareDisplayContext($reset = false)
 	// Is this user the message author?
 	$output['is_message_author'] = $message['id_member'] == $user_info['id'];
 
-	call_integration_hook('integrate_prepare_context', array(&$output, &$message));
+	call_integration_hook('integrate_prepare_display_context', array(&$output, &$message));
 
 	if (empty($options['view_newest_first']))
 		$counter++;