Jump to content

pmsmiers

Members
  • Content count

    24
  • Joined

  • Last visited


Reputation Activity

  1. Like
    pmsmiers reacted to Dr. Rolex in jQuery/Ajax Advanced Order Handler for osCommerce 2.3.3   
    Ok, in ./admin/order_handler.php around line 576, replace this code:

    if (isset($orders_rows_raw)) $orders_query_total = (int)tep_db_fetch_array(tep_db_query($orders_rows_raw))['total']; else $orders_query_total = tep_db_num_rows(tep_db_query($orders_query_raw));
    To This:

    if (isset($orders_rows_raw)) { $orders_query_total = (int)tep_db_fetch_array(tep_db_query($orders_rows_raw)); $orders_query_total = $orders_query_total['total']; } else { $orders_query_total = tep_db_num_rows(tep_db_query($orders_query_raw)); }
×