[Resolved]Errors When Tag List Empty |
This topic is about [Resolved]Errors When Tag List Empty, the author, bramburn, wrote about: Errors when tag list empty ... To read more just scroll down
![]() ![]() |
[Resolved]Errors When Tag List Empty |
Mar 27 2008, 08:12 PM
Post
#1
|
|
![]() Administrator ![]() ![]() ![]() Group: Root Admin Posts: 905 Joined: 25-June 07 From: London Member No.: 1 |
Errors when tag list empty
-------------------- Remember to please use the bug tracker for all bugs and errors, it is more organised that way.
Support in french and english If I reply in French please excuse my spelling & grammar, i haven't written in french for a long time. DO NOT PM ME TO ASK ME TO GO ON MSN, post the query on the support forums! |
|
|
|
Apr 6 2008, 10:19 AM
Post
#2
|
|
![]() Administrator ![]() ![]() ![]() Group: Root Admin Posts: 905 Joined: 25-June 07 From: London Member No.: 1 |
here is fix:
find in modules/mod_minerva.php CODE while ($row = $this->ipsclass->DB->fetch_row()) { $tags[$row['tag']] = $row['qq']; // $this->html .= $row['tag'] .'['.$row['qq'].']<br>'; } $this->printTagCloud($tags); replace: CODE if($this->ipsclass->DB->get_num_rows())
{ while ($row = $this->ipsclass->DB->fetch_row()) { $tags[$row['tag']] = $row['qq']; } $this->printTagCloud($tags); } else { $this->html = '<div align="center" style="margin:30px;font-size:3em">Sorry no Tags found, please add some</div>'; } -------------------- Remember to please use the bug tracker for all bugs and errors, it is more organised that way.
Support in french and english If I reply in French please excuse my spelling & grammar, i haven't written in french for a long time. DO NOT PM ME TO ASK ME TO GO ON MSN, post the query on the support forums! |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Sitemap | SEO by MinervaSEO © Icelabz.net | Time is now: 2nd December 2008 - 08:28 PM |