From ebb9eaaf34c5b9c14c9b49d3f6712990c7c6545e Mon Sep 17 00:00:00 2001 From: ebullient Date: Sun, 29 Feb 2004 22:52:36 +0000 Subject: [PATCH] odd logout case.. (in a tabbed browser, pull up SM, then click 'Sign Out' as an "open in new tab" then click something in the current window, you'll get an error trying to execute unknown function do_hook on line 88 of display_messages). So we'll just add the require, just to make sure.. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@6718 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/display_messages.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/functions/display_messages.php b/functions/display_messages.php index 6a279599..d0b0f522 100644 --- a/functions/display_messages.php +++ b/functions/display_messages.php @@ -13,6 +13,9 @@ * @package squirrelmail */ +require_once(SM_PATH . 'functions/plugin.php'); + + /** * Find out where squirrelmail lives and try to be smart about it. * The only problem would be when squirrelmail lives in directories -- 2.25.1