Correct property name. It's just 'tableprefix', without the 'db' prefix.

This commit is contained in:
Andreas Fischer 2013-11-27 00:08:07 +01:00
parent 6c16d45dc7
commit 005c98e46c

View file

@ -115,7 +115,7 @@ class OCI extends AbstractDatabase {
}
$query = "SELECT count(*) FROM user_tables WHERE table_name = :un";
$stmt = oci_parse($connection, $query);
$un = $this->dbtableprefix.'users';
$un = $this->tableprefix.'users';
oci_bind_by_name($stmt, ':un', $un);
if (!$stmt) {
$entry = $this->trans->t('DB Error: "%s"', array(oci_error($connection))) . '<br />';