Typo fixed.
[fa-stable.git] / gl / inquiry / journal_inquiry.php
index 834c444bdb10645159fab7844571f3ca3d9c7023..bf75a4732a3cca0ebc08ce1218a02a6e43c39e63 100644 (file)
@@ -105,7 +105,7 @@ function edit_link($row)
 {
        global $editors;
 
-       return isset($editors[$row["type"]]) ? 
+       return isset($editors[$row["type"]]) && !is_closed_trans($row["type"], $row["type_no"]) 
                pager_link(_("Edit"), 
                        sprintf($editors[$row["type"]], $row["type_no"], $row["type"]),
                        ICON_EDIT) : '';