[wellwell-devel] [wellwell/zoom] Add prefix parameter to [reviews] tag list function.

Stefan Hornburg wellwell-devel at rt.icdevgroup.org
Wed Sep 15 10:46:25 UTC 2010


commit 05ad2abaf942d75127a0542dc0062e4cf82d92c3
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date:   Wed Sep 1 15:34:55 2010 +0200

    Add prefix parameter to [reviews] tag list function.

 plugins/reviews/code/reviews.tag |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/reviews/code/reviews.tag b/plugins/reviews/code/reviews.tag
index 70e6b71..3067178 100644
--- a/plugins/reviews/code/reviews.tag
+++ b/plugins/reviews/code/reviews.tag
@@ -108,7 +108,7 @@ sub {
 			$sql .= ' order by name asc'; 
 		}
 
-		return $Tag->query ({sql => $sql, list => 1, prefix => 'item',
+		return $Tag->query ({sql => $sql, list => 1, prefix => $opt->{prefix} || 'item',
 			body => $body});
 	}
 }



More information about the wellwell-devel mailing list