Ignore:
Timestamp:
Apr 8, 2006 8:35:17 AM (18 years ago)
Author:
scdev
Message:

changed addslashes to mysql_real_escape_string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.1dev/bin/module_maker/module.cli.php

    r89 r90  
    135135// Ensure requested table contains columns.
    136136// Get DB table column info.
    137 $qid = dbQuery("DESCRIBE " . addslashes($db_tbl));
     137$qid = dbQuery("DESCRIBE " . mysql_real_escape_string($db_tbl));
    138138while ($row = mysql_fetch_row($qid)) {
    139139    $cols[] = $row;
Note: See TracChangeset for help on using the changeset viewer.