/[drupal]/contributions/modules/bookmarks/bookmarks.module
ViewVC logotype

Diff of /contributions/modules/bookmarks/bookmarks.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.32, Mon Oct 11 17:59:36 2004 UTC revision 1.33, Wed Nov 24 22:03:32 2004 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: bookmarks.module,v 1.31 2004/10/11 14:55:33 goba Exp $  // $Id: bookmarks.module,v 1.32 2004/10/11 17:59:36 mathias Exp $
3    
4  /********************************************************************  /********************************************************************
5   * Drupal Hooks   * Drupal Hooks
# Line 253  function bookmarks_overview() { Line 253  function bookmarks_overview() {
253      array('data' => t('link'), 'field' => 'url'),      array('data' => t('link'), 'field' => 'url'),
254      array('data' => t('operations'), 'colspan' => 2)      array('data' => t('operations'), 'colspan' => 2)
255    );    );
256    $sql = 'SELECT url, title FROM {bookmarks} WHERE uid = '. check_query($user->uid). tablesort_sql($header);    $sql = 'SELECT url, title FROM {bookmarks} WHERE uid = '. db_escape_string($user->uid). tablesort_sql($header);
257    $result = pager_query($sql, 50);    $result = pager_query($sql, 50);
258    
259    while ($data = db_fetch_object($result)) {    while ($data = db_fetch_object($result)) {

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33

  ViewVC Help
Powered by ViewVC 1.1.2