skala
Julio Montoya 12 years ago
commit a87b647bf8
  1. 2
      main/inc/lib/database.lib.php

@ -681,7 +681,7 @@ class Database {
//@todo remove this before the stable release
//Check if the table contains a c_ (means a course id)
if (strpos($query, 'c_')) {
if (api_get_setting('server_type')==='test' && strpos($query, 'c_')) {
//Check if the table contains inner joins
if (
strpos($query, 'assoc_handle') === false &&

Loading…
Cancel
Save