X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=dimensions%2Fdimension_entry.php;h=3a11e6656a156fc4141ec047e44a9bce2112ffc2;hb=2a1e11f80f2f95573f1089aa649daf48e1750653;hp=98c1d120974f9a2b4d41faa21bff1e69b2eb685d;hpb=17c5d03b130cce31849c3a28989f3a969d36d586;p=fa-stable.git diff --git a/dimensions/dimension_entry.php b/dimensions/dimension_entry.php index 98c1d120..3a11e665 100644 --- a/dimensions/dimension_entry.php +++ b/dimensions/dimension_entry.php @@ -217,9 +217,9 @@ start_table(TABLESTYLE2); 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();