From: Peter Rabbitson Date: Fri, 3 Jul 2009 17:54:04 +0000 (+0000) Subject: Duh X-Git-Tag: v0.08108~12^2~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9c1ffdde49834a40f61a8e1e4ebab4c77a5c10ce;p=dbsrgits%2FDBIx-Class.git Duh --- diff --git a/lib/DBIx/Class/SQLAHacks.pm b/lib/DBIx/Class/SQLAHacks.pm index 8399cf0..c98cfdb 100644 --- a/lib/DBIx/Class/SQLAHacks.pm +++ b/lib/DBIx/Class/SQLAHacks.pm @@ -248,7 +248,7 @@ sub _Top { } } for my $col (keys %col_aliases) { - $order_by_inner =~ s/\s+$col\s+/$col_aliases{$col}/g; + $order_by_inner =~ s/\s+$col\s+/ $col_aliases{$col} /g; }