Ignore:
Timestamp:
Dec 18, 2005 12:16:03 AM (18 years ago)
Author:
scdev
Message:

detabbed all files ;P

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/module_maker/sql.cli.php

    r41 r42  
    5656if (is_array($cols) && !empty($cols)) {
    5757    foreach ($cols as $col) {
    58        
     58
    5959        // Human readable.
    6060        $field = $col[0];
    6161        $type = preg_replace('/^(\w+).*$/', '\\1', $col[1]);
    6262        $is_primary_key = ('PRI' == $col[3]);
    63        
     63
    6464        $sort_columns .= "\$so->setColumn('$field', '$field ASC', '$field DESC');\n";
    65        
     65
    6666        if ($is_primary_key) {
    6767            // This is the primary key. Deal with separately.
     
    8484        }
    8585    }
    86    
     86
    8787} else {
    8888    die(basename($_SERVER['argv'][0]) . " Warning: $db_tbl does not have any columns.\n");
Note: See TracChangeset for help on using the changeset viewer.