r1826 + treat empty tag filter as "show all" instead of "show untagged only"
authorDenis Ovsienko <infrastation@yandex.ru>
Mon, 24 Mar 2008 14:53:31 +0000 (14:53 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Mon, 24 Mar 2008 14:53:31 +0000 (14:53 +0000)
inc/database.php

index ee5059f57c331626f0a4f8cb3b8f1da763c6c651..616ceb317d4e260405f017a2f05277efe4a790d4 100644 (file)
@@ -894,7 +894,7 @@ function getObjectAddresses ($object_id = 0)
 function getAddressspaceList ($tagfilter = array())
 {
        if (!count ($tagfilter))
-               $whereclause = 'where tag_id is null';
+               $whereclause = '';
        else
        {
                $whereclause = 'where ';