From 9684246f4f208047aab98f0c3dbba86ee8b2939b Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Thu, 19 Sep 2013 14:24:39 +0000 Subject: [PATCH] add Function tag::show_list --- include/class_tag.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/class_tag.php b/include/class_tag.php index c759ff942..ea438bfd7 100644 --- a/include/class_tag.php +++ b/include/class_tag.php @@ -24,10 +24,13 @@ class Tag { function __construct($p_cn) { + $this->cn=$p_cn; $this->data=new Tag_SQL($p_cn); } function show_list() { + $ret=$this->data->seek(' order by t_tag'); + if ( $this->cn->count($ret) == 0) return ""; } }