Changeset 1163 in ExiteCMS


Ignore:
Timestamp:
12/09/07 11:36:17 (4 years ago)
Author:
hverton
Message:

added missing 'read more' counter update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/news.php

    r880 r1163  
    5050        // and store it for use in the template 
    5151        $variables['news'][] = $data; 
     52        // update the read counter 
     53        $result = dbquery("UPDATE ".$db_prefix."news SET news_reads = news_reads + 1"); 
    5254    } 
    5355    // check if the user is allowed to edit 
Note: See TracChangeset for help on using the changeset viewer.