From 9bffaf57058da9447406cff00dc6f82a2fc7012d Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 8 Jul 2021 10:50:45 +0800 Subject: [PATCH] fix tablename --- DataObjects/Core_person.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DataObjects/Core_person.php b/DataObjects/Core_person.php index 7b61faf3..09ea2537 100644 --- a/DataObjects/Core_person.php +++ b/DataObjects/Core_person.php @@ -1172,7 +1172,7 @@ class Pman_Core_DataObjects_Core_person extends DB_DataObject if (!$roo->hasPerm('Core.Projects_All', 'S')) { $peps = $p->people($pids); - $this->whereAddIn("{$tn}.id", $peps, 'int'); + $this->whereAddIn("{$this->tableName()}.id", $peps, 'int'); } } -- 2.39.2