r1629 + renderEditObjectForm(): check value instead of key to make reset work for...
authorDenis Ovsienko <infrastation@yandex.ru>
Thu, 31 Jan 2008 09:50:02 +0000 (09:50 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Thu, 31 Jan 2008 09:50:02 +0000 (09:50 +0000)
ChangeLog
inc/interface.php

index 47462a9bde4e60abcee576e34c8dfb0e951bb6db..b99d038f3c7be3483c234301b002fc398559d21f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 0.14.10
        new feature: LDAP authentication
        bugfix: avoid losing comment on object update
+       bugfix: sticker reset icon did not work sometimes
 0.14.9 2008-01-30
        bugfix: upgrade to 0.14.8 broke IPv4 prefix creation
        bugfix: more DB cleanups
index d7b032802c854d457538e5a198a2c984d8f630e2..3e550bebc522e23e025b0222b9641cde51c1761e 100644 (file)
@@ -409,7 +409,7 @@ function renderEditObjectForm ($object_id)
        {
                echo "<input type=hidden name=${i}_attr_id value=${record['id']}>";
                echo '<tr><td>';
-               if (!empty ($record['key']))
+               if (!empty ($record['value']))
                {
                        echo "<a href=${root}process.php?page=${pageno}&tab=${tabno}&op=del&object_id=${object_id}&attr_id=${record['id']}>";
                        printImageHREF ('delete', 'Delete value');