From 0d2a019c3f1cf3decd6878066dcb85bd66a34880 Mon Sep 17 00:00:00 2001 From: Florian Henry Date: Tue, 5 Nov 2013 11:26:13 +0100 Subject: [PATCH] Extrafield : better filter on select from table management for extrafields table --- htdocs/core/class/extrafields.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/extrafields.class.php b/htdocs/core/class/extrafields.class.php index c651603451d..c00d0401e5c 100644 --- a/htdocs/core/class/extrafields.class.php +++ b/htdocs/core/class/extrafields.class.php @@ -703,7 +703,7 @@ class ExtraFields $keyList.= ', '.$parentField; } if (count($InfoFieldList)>=4 && !empty($InfoFieldList[4])) { - if (strpos($InfoFieldList[4], 'extra')!==false) { + if (strpos($InfoFieldList[4], 'extra.')!==false) { $keyList='main.'.$InfoFieldList[2].' as rowid'; }else { $keyList=$InfoFieldList[2].' as rowid';