From 2aa8de8a8618133a668b5af2361e30b3c0c448c4 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Tue, 29 May 2012 19:51:26 -0700 Subject: [PATCH] Don't pull data from the version tag table that isn't used. --- lib/WebGUI/Operation/VersionTag.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Operation/VersionTag.pm b/lib/WebGUI/Operation/VersionTag.pm index 8a8ee697d..8a16536e0 100644 --- a/lib/WebGUI/Operation/VersionTag.pm +++ b/lib/WebGUI/Operation/VersionTag.pm @@ -582,7 +582,7 @@ sub www_managePendingVersions { $ac->addSubmenuItem($session->url->page('op=manageCommittedVersions'), $i18n->get("manage committed versions")) if canView($session); my $output = ' '; - my $sth = $session->db->read("select tagId,name,commitDate,committedBy from assetVersionTag where isCommitted=0 and isLocked=1"); + my $sth = $session->db->read("select tagId,name from assetVersionTag where isCommitted=0 and isLocked=1"); while (my ($id,$name) = $sth->array) { $output .= '
'.$i18n->get("version tag name").'
'.$name.'