Fixed warning
This commit is contained in:
parent
4010d8fbd0
commit
2dbf32cd9e
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ class DbOperations
|
||||||
function innerJoin(string $table, string $externAttribute, string $internAttribute = "", string $internTable = "")
|
function innerJoin(string $table, string $externAttribute, string $internAttribute = "", string $internTable = "")
|
||||||
{
|
{
|
||||||
if ($internTable === "") {
|
if ($internTable === "") {
|
||||||
$internTable = substr($this->table, sizeof($this->tablePrefix));
|
$internTable = substr($this->table, strlen($this->tablePrefix));
|
||||||
}
|
}
|
||||||
if ($internAttribute === "") {
|
if ($internAttribute === "") {
|
||||||
$internAttribute = $externAttribute;
|
$internAttribute = $externAttribute;
|
||||||
|
|
Loading…
Reference in a new issue