mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Issue 1862: Insert site query fails
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10545 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6394a5c278
commit
497f7f30bd
1 changed files with 3 additions and 4 deletions
|
|
@ -11,7 +11,8 @@
|
|||
|
||||
function getTableInfo($query_id, $table_name) {
|
||||
$column_type = array();
|
||||
|
||||
$module = '';
|
||||
|
||||
$id_args = explode('.', $query_id);
|
||||
if (count($id_args) == 2) {
|
||||
$target = 'modules';
|
||||
|
|
@ -23,9 +24,7 @@
|
|||
return;
|
||||
$module = $id_args[1];
|
||||
$id = $id_args[2];
|
||||
} else {
|
||||
return $column_type;
|
||||
}
|
||||
}
|
||||
|
||||
// get column properties from the table
|
||||
$table_file = sprintf('%s%s/%s/schemas/%s.xml', _XE_PATH_, 'modules', $module, $table_name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue