Make WordPress Core

Changeset 436


Ignore:
Timestamp:
10/08/2003 10:27:45 PM (22 years ago)
Author:
mikelittle
Message:

Added missing global querycount

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/b2-include/b2functions.php

    r411 r436  
    352352
    353353function get_lastpostdate() {
    354     global $tableposts, $cache_lastpostdate, $use_cache, $time_difference, $pagenow, $wpdb;
     354    global $tableposts, $cache_lastpostdate, $use_cache, $time_difference, $pagenow, $wpdb, $querycount;
    355355    if ((!isset($cache_lastpostdate)) OR (!$use_cache)) {
    356356        $now = date("Y-m-d H:i:s",(time() + ($time_difference * 3600)));
     
    469469
    470470function get_alloptions() {
    471     global $tableoptions, $wpdb;
     471    global $tableoptions, $wpdb, $querycount;
    472472    $options = $wpdb->get_results("SELECT option_name, option_value FROM $tableoptions");
    473473    ++$querycount;
Note: See TracChangeset for help on using the changeset viewer.