Explorar el Código

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

Alexandre SPANGARO hace 1 año
padre
commit
3ebbfc6bbb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);