AmgadMHM / clients-oriented-ftp

Automatically exported from code.google.com/p/clients-oriented-ftp
0 stars 0 forks source link

Projectsend stop working if you are using table prefixes in config file #479

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If you use a table prefix, Projectsend will stop working.

The issue is related to "sites.options.php" file, and specifically with a 
table_options query.

Around line 18:

--------

 * @return array
 */
$options_values = array();
- $options = $database->query("SELECT * FROM tbl_options");
+ $options = $database->query("SELECT * FROM " . TABLE_OPTIONS);

--------

Please, fix it quickly.

Original issue reported on code.google.com by ivanordo...@gmail.com on 18 Jul 2014 at 10:18

GoogleCodeExporter commented 9 years ago
This is a general error, almost all the the query tables are referenced wrong.

Original comment by ivanordo...@gmail.com on 18 Jul 2014 at 10:57