From: Janusz Dobrowolski Date: Fri, 20 Jun 2008 07:46:56 +0000 (+0000) Subject: Fixed initaila combo selection X-Git-Tag: v2.4.2~19^2~1995 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=c76c9607be58ce1d344f117556ac97da0dfcf218;p=fa-stable.git Fixed initaila combo selection --- diff --git a/includes/ui/ui_lists.inc b/includes/ui/ui_lists.inc index 6766415e..e6d9f512 100644 --- a/includes/ui/ui_lists.inc +++ b/includes/ui/ui_lists.inc @@ -136,7 +136,7 @@ $opts = array( // default options $descr = $opts['format']==null ? $contact_row[1] : call_user_func($opts['format'], $contact_row); $sel = ''; - if ($selected_id === $value) { + if ((string)($selected_id) === $value) { $sel = 'selected'; $found = $value; }