From cdc4d8819a7bfd5133977e3e40a599e99691a175 Mon Sep 17 00:00:00 2001 From: stekkel Date: Thu, 6 Apr 2006 11:09:04 +0000 Subject: [PATCH] Fix for compose in new. Now use the constant SM_BASE_URI. TODO, move this function to the same place as makeInternalLink. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11029 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/strings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/strings.php b/functions/strings.php index 00761057..a6e3852a 100644 --- a/functions/strings.php +++ b/functions/strings.php @@ -825,7 +825,7 @@ function makeComposeLink($url, $text = null, $target='') { // if javascript is on, use onclick event to handle it if($javascript_on) { sqgetGlobalVar('base_uri', $base_uri, SQ_SESSION); - $compuri = $base_uri.$url; + $compuri = SM_BASE_URI.$url; return "$text"; } -- 2.25.1