From 6c5dc122d73a5a6b6c7c42440722b4d0b1cd13a3 Mon Sep 17 00:00:00 2001 From: michalsn Date: Tue, 10 Dec 2024 17:49:29 +0100 Subject: [PATCH] update comment in the code --- system/Model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/Model.php b/system/Model.php index 5417a47c418d..6f04adcfa2b7 100644 --- a/system/Model.php +++ b/system/Model.php @@ -593,7 +593,7 @@ protected function doErrors() public function getIdValue($row) { if (is_object($row)) { - // Get the raw primary key value of the Entity. + // Get the raw or mapped primary key value of the Entity. if ($row instanceof Entity && $row->{$this->primaryKey} !== null) { $cast = $row->cast();