Index: branches/5.3.x/core/units/helpers/user_helper.php =================================================================== diff -u -N -r15677 -r15698 --- branches/5.3.x/core/units/helpers/user_helper.php (.../user_helper.php) (revision 15677) +++ branches/5.3.x/core/units/helpers/user_helper.php (.../user_helper.php) (revision 15698) @@ -1,6 +1,6 @@ Application->getUnitOption('ban-rule', 'TableName'); + $table = $this->Application->getUnitConfig('ban-rule')->getTableName(); if (!$this->Conn->TableFound($table)) { // when ban table not found -> assume user is ok by default @@ -607,7 +607,7 @@ function _checkValueExist($field, $value) { $sql = 'SELECT * - FROM ' . $this->Application->getUnitOption('u', 'TableName') . ' + FROM ' . $this->Application->getUnitConfig('u')->getTableName() . ' WHERE '. $field .' = ' . $this->Conn->qstr($value); return $this->Conn->GetOne($sql);