opendocman/opendocman — pull request #96 by unisys12 (2013-05-18 02:22:09+00:00)
Title: Issue #95

Like I said, I went back through everything I changed last night and ran a double check. And good thing too, I think. After a closer look, the submitted file was the only one that still had a query that was still using the static 'odm_' table prefix. I think what threw me off was all the returns I was getting from 'database.sql'. Which, after a few re-installs and some reading... it seems as though the declared $GLOBAL is over-riding the table prefixes declared in this file, because it doesn't seem to matter what prefix you put here.

But, on the same subject I do have a question - Within 'ajax_udf.php' there are a few queries that are called to tables that do not seem to exist. Like this, for example
```php
98: if ($_GET["add_value"] == "add") {
99: $query = 'Select * FROM odm_udftbl_' . $_GET['table'] . '_secondary WHERE pr_id = "' . $_GET['q'] . '"';
100: $subresult = mysql_query($query);
```
The issue here, that has be puzzled, is that there is no table similar to what is called on line 99. Since I had a question about this, I felt it would be better for me to not make any changes. That way I would not be wasting any of your time.