Skip to content

Commit

Permalink
Minor bugfix (this not his)
Browse files Browse the repository at this point in the history
  • Loading branch information
arnemorken committed Dec 4, 2024
1 parent 0de01e9 commit a493009
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions data/mysql/anyTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,9 @@ private function initProperties($paramOrType)
// Properties given as global parameter override fields in class.
//
if ($this->mIdKey == "user_id") {
$par_id = ltrim(Parameters::get("user_id"));
if ($par_id)
$this->mUserId = $par_id;
$user_id = ltrim(Parameters::get("user_id"));
if ($user_id)
$this->mUserId = $user_id;
}
$par_table_fields = Parameters::get("tableFields");
if ($par_table_fields)
Expand Down Expand Up @@ -1918,7 +1918,7 @@ public function dbInsert()
//error_log("stmt:".$stmt);
if (!$this->query($stmt)) {
$this->setError("Error while inserting into group table. "); // TODO i18n
error_log($his->mError);
error_log($this->mError);
return $this->mData;
}
}
Expand Down

0 comments on commit a493009

Please sign in to comment.