From 7cc358b52647c2debbe9b34affb2d0786f57916b Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 20 Mar 2013 09:55:30 +0000 Subject: [PATCH] fixed not working link in notifications / subscribtions, if path contains eg. a space caused by unnecessary appended path=... url parameter breaking WebDAV, added new config to NOT add it, as not setting id causes signature to fail --- etemplate/inc/class.bo_tracking.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/inc/class.bo_tracking.inc.php b/etemplate/inc/class.bo_tracking.inc.php index 50f55bc913..7b47cd0239 100644 --- a/etemplate/inc/class.bo_tracking.inc.php +++ b/etemplate/inc/class.bo_tracking.inc.php @@ -868,7 +868,7 @@ abstract class bo_tracking { if (($link = $this->get_config('link',$data,$old))) { - if (strpos($link,$this->id_field.'=') === false && isset($data[$this->id_field])) + if (!$this->get_config('link_no_id', $data) && strpos($link,$this->id_field.'=') === false && isset($data[$this->id_field])) { $link .= strpos($link,'?') === false ? '?' : '&'; $link .= $this->id_field.'='.$data[$this->id_field];