Ignore:
Timestamp:
May 26, 2006 9:29:19 PM (18 years ago)
Author:
scdev
Message:

finished /lib folder

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0singleton/lib/TemplateGlue.inc.php

    r111 r128  
    6666function getSetEnumFieldValues($db_table, $db_col)
    6767{
     68    $app =& App::getInstance();
     69
    6870    $qid = DB::query("SHOW COLUMNS FROM " . DB::escapeString($db_table) . " LIKE '" . DB::escapeString($db_col) . "'",false);
    6971
     
    7274        return $enum[1];
    7375    } else {
    74         App::logMsg(sprintf('No set or enum fields found.', null), LOG_ERR, __FILE__, __LINE__);
     76        $app->logMsg(sprintf('No set or enum fields found.', null), LOG_ERR, __FILE__, __LINE__);
    7577        return false;
    7678    }
Note: See TracChangeset for help on using the changeset viewer.