Changeset 1335
- Timestamp:
- 02/16/07 14:30:06 (2 years ago)
- Files:
-
- feedmelinks/folder-by-tag-name.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
feedmelinks/folder-by-tag-name.php
r1334 r1335 18 18 $con_t = mysql_connect(); 19 19 mysql_selectdb( getDBName() ); 20 20 21 21 # allow authenticated users to view their own private tags 22 22 $taglist_clause = "(isPrivate IS NULL OR isPrivate = 0)" . ($authed ? " AND name = '$tag'" : ""); … … 24 24 $qs = getQuery( "tag_by_name", $user, "($taglist_clause)" ); 25 25 26 #echo $qs; 27 26 28 $q = mysql_query( $qs ); 27 29 if( !$q || !( $numRows = mysql_num_rows($q))) 28 croak( "Sorry, we screwed up. We're currently working on fixing this. $who_hath no tag called '$tag', dog!" ); 29 30 croak( "<p>Sorry, we screwed up. We're currently working on fixing this. </p>$who_hath no tag called '$tag', dog!" ); 31 32 30 33 # TODO: either handle this case or remove the if/for statements 31 34 if( $numRows > 1)