projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Additional fix.
[fa-stable.git]
/
sales
/
manage
/
credit_status.php
diff --git
a/sales/manage/credit_status.php
b/sales/manage/credit_status.php
index f4608d088e3c10d2cef45fc934d287af768868ab..6b0ee02d608b233911389da2433b201ff0708edf 100644
(file)
--- a/
sales/manage/credit_status.php
+++ b/
sales/manage/credit_status.php
@@
-19,6
+19,7
@@
function can_process()
if (strlen($_POST['reason_description']) == 0)
{
display_error(_("The credit status description cannot be empty."));
if (strlen($_POST['reason_description']) == 0)
{
display_error(_("The credit status description cannot be empty."));
+ set_focus('reason_description');
return false;
}
return false;
}
@@
-71,8
+72,8
@@
if ($Mode == 'Delete')
{
delete_credit_status($selected_id);
display_notification(_('Selected credit status has been deleted'));
{
delete_credit_status($selected_id);
display_notification(_('Selected credit status has been deleted'));
- $Mode = 'RESET';
}
}
+ $Mode = 'RESET';
}
if ($Mode == 'RESET')
}
if ($Mode == 'RESET')