projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed GET continuation after timeot and logout page access without authorization.
[fa-stable.git]
/
purchasing
/
supplier_credit.php
diff --git
a/purchasing/supplier_credit.php
b/purchasing/supplier_credit.php
index 25c24e3b0afdf31771954d07b0ede86581ad817f..319bab0bb1acf583fec8d99a4198668a47bc718e 100644
(file)
--- a/
purchasing/supplier_credit.php
+++ b/
purchasing/supplier_credit.php
@@
-36,7
+36,7
@@
check_db_has_suppliers(_("There are no suppliers defined in the system."));
if (isset($_GET['AddedID']))
{
$invoice_no = $_GET['AddedID'];
if (isset($_GET['AddedID']))
{
$invoice_no = $_GET['AddedID'];
- $trans_type =
21
;
+ $trans_type =
ST_SUPPCREDIT
;
echo "<center>";
echo "<center>";
@@
-153,7
+153,7
@@
function check_data()
return false;
}
return false;
}
- if (!is_new_reference($_SESSION['supp_trans']->reference,
21
))
+ if (!is_new_reference($_SESSION['supp_trans']->reference,
ST_SUPPCREDIT
))
{
display_error(_("The entered reference is already in use."));
set_focus('reference');
{
display_error(_("The entered reference is already in use."));
set_focus('reference');