projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Incorrect Journal Balance (sales invoice) when many decimals in tax and price.
[fa-stable.git]
/
dimensions
/
dimension_entry.php
diff --git
a/dimensions/dimension_entry.php
b/dimensions/dimension_entry.php
index f46be106cc12e50b266030a63fe69759cc6cba77..3a11e6656a156fc4141ec047e44a9bce2112ffc2 100644
(file)
--- a/
dimensions/dimension_entry.php
+++ b/
dimensions/dimension_entry.php
@@
-92,11
+92,11
@@
if (isset($_GET['ReopenedID']))
function safe_exit()
{
function safe_exit()
{
- global $path_to_root;
+ global $path_to_root
, $id
;
hyperlink_no_params("", _("Enter a &new dimension"));
hyperlink_no_params("", _("Enter a &new dimension"));
- echo "<br>";
hyperlink_no_params($path_to_root . "/dimensions/inquiry/search_dimensions.php", _("&Select an existing dimension"));
hyperlink_no_params($path_to_root . "/dimensions/inquiry/search_dimensions.php", _("&Select an existing dimension"));
+ hyperlink_no_params($path_to_root . "/admin/attachments.php?filterType=40&trans_no=$id", _("&Add Attachment"));
display_footer_exit();
}
display_footer_exit();
}
@@
-217,9
+217,9
@@
start_table(TABLESTYLE2);
if ($selected_id != -1)
{
if ($selected_id != -1)
{
- $myrow = get_dimension($selected_id);
+ $myrow = get_dimension($selected_id
, true
);
- if (
strlen($myrow[0]) == 0
)
+ if (
$myrow === false
)
{
display_error(_("The dimension sent is not valid."));
display_footer_exit();
{
display_error(_("The dimension sent is not valid."));
display_footer_exit();