From 7749f97eb55b8f1cbb78136b016be32fa70fc344 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Mon, 31 Oct 2022 17:10:54 +0100 Subject: [PATCH] Bug : 840cd82f3b7f has introduced a bug when searching an accounting --- include/class/card_property.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class/card_property.class.php b/include/class/card_property.class.php index 2fb1f883c..5c5df1173 100644 --- a/include/class/card_property.class.php +++ b/include/class/card_property.class.php @@ -167,7 +167,7 @@ class Card_Property $result['input']->id = uniqid('accounting'); $result['input']->set_attribute('ipopup', 'ipop_account'); $result['input']->set_attribute('jrn', '0'); - $result['input']->set_attribute('account', "av_text" . $this->ad_id); + $result['input']->set_attribute('account', $result['input']->id); $result['input']->dbl_click_history(); $result['input']->value = $this->av_text; // account created automatically