From a8de73dc6cdd05415fbffd2f2226dd7d8cffce7f Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Sat, 10 Mar 2018 21:07:46 +0100 Subject: [PATCH] Follow-up fix small bug with ag_ref --- include/class/follow_up.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class/follow_up.class.php b/include/class/follow_up.class.php index b68ae5f00..19cbba004 100644 --- a/include/class/follow_up.class.php +++ b/include/class/follow_up.class.php @@ -1354,7 +1354,7 @@ class Follow_Up } if (isset($p_array['sag_ref'])&&trim($p_array['sag_ref'])!="") { - $query .= " and ag_ref= '".sql_string($p_array['sag_ref'])."'"; + $action_query .= " and ag_ref= '".sql_string($p_array['sag_ref'])."'"; } if (isset($_GET['only_internal']))