Ver Fonte

FIX #29756 Sql error on comment search (#29761)

Alexandre SPANGARO há 1 ano atrás
pai
commit
3ebbfc6bbb
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      htdocs/accountancy/expensereport/lines.php

+ 1 - 1
htdocs/accountancy/expensereport/lines.php

@@ -213,7 +213,7 @@ if (strlen(trim($search_label))) {
 	$sql .= natural_search("f.label", $search_label);
 }
 if (strlen(trim($search_desc))) {
-	$sql .= natural_search("er.comments", $search_desc);
+	$sql .= natural_search("erd.comments", $search_desc);
 }
 if (strlen(trim($search_amount))) {
 	$sql .= natural_search("erd.total_ht", $search_amount, 1);