Changeset 1568

Show
Ignore:
Timestamp:
03/20/08 13:05:39 (4 months ago)
Author:
misja
Message:

Misja Hoebe <misja@curverider.co.uk> Case typos, fixes #331

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/lib/templates.php

    r1528 r1568  
    10411041                $vars[1] = "'town'"; 
    10421042            } 
    1043             if ($tags = get_records_sql("SELECT tag, count(ident) as numtags FROM `".$CFG->prefix."tags` WHERE access = 'public' and tagtype=".$vars[1]." group by tag order by numtags desc limit 20")) { 
     1043            if ($tags = get_records_sql("SELECT tag, count(ident) as numtags FROM `".$CFG->prefix."tags` WHERE access = 'PUBLIC' and tagtype=".$vars[1]." group by tag order by numtags desc limit 20")) { 
    10441044                $tag_count = 0; 
    10451045                foreach($tags as $tag) { 
     
    10621062              $vars[1] = "20";  
    10631063            }  
    1064             if ($tags = get_records_sql("SELECT tag, count(ident) as numtags FROM `".$CFG->prefix."tags` WHERE access = 'public' and tag!='' group by tag having numtags > 1 order by ident desc limit " . $vars[1])) { 
     1064            if ($tags = get_records_sql("SELECT tag, count(ident) as numtags FROM `".$CFG->prefix."tags` WHERE access = 'PUBLIC' and tag!='' group by tag having numtags > 1 order by ident desc limit " . $vars[1])) { 
    10651065                $max = 0; 
    10661066                foreach($tags as $tag) {