Changeset 295
- Timestamp:
- 08/06/2003 10:40:11 PM (23 years ago)
- File:
-
- 1 edited
-
trunk/b2-include/b2template.functions.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/b2-include/b2template.functions.php
r294 r295 8 8 $querystring_separator = '&'; 9 9 } 10 11 12 10 13 11 /* template functions... */ … … 950 948 $cat_name = $wpdb->get_var("SELECT cat_name FROM $tablecategories WHERE cat_ID = '$cat_ID'"); 951 949 ++$querycount; 952 $cache_categories[$cat_ID] = &$cat_name;950 $cache_categories[$cat_ID] = $cat_name; 953 951 } else { 954 952 $cat_name = $cache_categories[$cat_ID]; … … 962 960 $cat_name = $wpdb->get_var("SELECT cat_name FROM $tablecategories WHERE cat_ID = '$cat_ID'"); 963 961 ++$querycount; 964 $cache_categories[$cat_ID] = &$cat_name;962 $cache_categories[$cat_ID] = $cat_name; 965 963 } else { 966 964 $cat_name = $cache_categories[$cat_ID]; … … 1165 1163 function comment_author_link() { 1166 1164 global $comment; 1167 $url = trim(stripslashes( &$comment->comment_author_url));1168 $email = &$comment->comment_author_email;1169 $author = stripslashes( &$comment->comment_author);1165 $url = trim(stripslashes($comment->comment_author_url)); 1166 $email = $comment->comment_author_email; 1167 $author = stripslashes($comment->comment_author); 1170 1168 1171 1169 $url = str_replace('http://url', '', $url);
Note: See TracChangeset
for help on using the changeset viewer.