Skip to content

Commit

Permalink
Don't pull data from the version tag table that isn't used.
Browse files Browse the repository at this point in the history
  • Loading branch information
perlDreamer committed May 30, 2012
1 parent fd4b75b commit 2aa8de8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/WebGUI/Operation/VersionTag.pm
Expand Up @@ -582,7 +582,7 @@ sub www_managePendingVersions {
$ac->addSubmenuItem($session->url->page('op=manageCommittedVersions'), $i18n->get("manage committed versions")) if canView($session);
my $output = '<table width="100%" class="content">
<tr><th>'.$i18n->get("version tag name").'</th></tr> ';
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 .= '<tr>
<td><a href="'.$session->url->page("op=manageRevisionsInTag;tagId=".$id).'">'.$name.'</a></td>
Expand Down

0 comments on commit 2aa8de8

Please sign in to comment.