diff --git a/code/SQLite3Database.php b/code/SQLite3Database.php index b0fd22c..68ecb42 100644 --- a/code/SQLite3Database.php +++ b/code/SQLite3Database.php @@ -780,12 +780,15 @@ class SQLite3Database extends SS_Database { /** * Return enum values for the given field + * @return array */ public function enumValuesForField($tableName, $fieldName) { $classnameinfo = DB::query("SELECT EnumList FROM SQLiteEnums WHERE TableColumn = \"{$tableName}.{$fieldName}\"")->first(); - $return = explode(',', $classnameinfo['EnumList']); - //for($i=0; $i