projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Global variabel, $def_print_destination, config.php can be set to 0 or 1
[fa-stable.git]
/
purchasing
/
includes
/
db
/
supp_trans_db.inc
diff --git
a/purchasing/includes/db/supp_trans_db.inc
b/purchasing/includes/db/supp_trans_db.inc
index 4ba8d7bac65d57517c4f6f1eb41f595c418e17a5..3a95a4f502eae85bb604901ab2886dcd1ef1a124 100644
(file)
--- a/
purchasing/includes/db/supp_trans_db.inc
+++ b/
purchasing/includes/db/supp_trans_db.inc
@@
-104,7
+104,7
@@
function get_supp_trans($trans_no, $trans_type=-1)
function exists_supp_trans($type, $type_no)
{
- if ($type ==
25
)
+ if ($type ==
ST_SUPPRECEIVE
)
return exists_grn($type_no);
$sql = "SELECT trans_no FROM ".TB_PREF."supp_trans WHERE type=".db_escape($type)."