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:
ucorina 2012-04-09 13:17:53 +00:00
parent 6394a5c278
commit 497f7f30bd

View file

@ -11,6 +11,7 @@
function getTableInfo($query_id, $table_name) { function getTableInfo($query_id, $table_name) {
$column_type = array(); $column_type = array();
$module = '';
$id_args = explode('.', $query_id); $id_args = explode('.', $query_id);
if (count($id_args) == 2) { if (count($id_args) == 2) {
@ -23,8 +24,6 @@
return; return;
$module = $id_args[1]; $module = $id_args[1];
$id = $id_args[2]; $id = $id_args[2];
} else {
return $column_type;
} }
// get column properties from the table // get column properties from the table