From 93a9a5ec43168823d8af6293e688027a2ceff520 Mon Sep 17 00:00:00 2001 From: Leendert Bottelberghs Date: Fri, 13 Aug 2004 15:25:02 +0000 Subject: [PATCH] Minor bugfix --- lib/WebGUI/MetaData.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/MetaData.pm b/lib/WebGUI/MetaData.pm index 58e254ea4..a71eeb691 100644 --- a/lib/WebGUI/MetaData.pm +++ b/lib/WebGUI/MetaData.pm @@ -376,7 +376,7 @@ sub getWobjectByCriteria { } my $wid; # Grab a wid from the results - if ($order = 'random') { + if ($order == 'random') { $wid = $wids[ rand @wids ]; } else { #default order is mostRecent