From 0cc433c3f2aacf17c29363af0acc7d886591df64 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Thu, 27 Oct 2016 16:43:28 +0200 Subject: [PATCH] table count rty --- lib/php/db/table.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/php/db/table.php b/lib/php/db/table.php index fd8741bb..e6826e89 100644 --- a/lib/php/db/table.php +++ b/lib/php/db/table.php @@ -1740,6 +1740,7 @@ Class Table extends nb { if (is_array($this->status[$k])) $this->status[$k] = count($this->status[$k]); } + #if (empty($this->status['count']) and $this->p('db.count')) $this->status['count'] = $this->count(); #debug([$this->name,$this->status,$this->sql()]); if (!empty($key)) return ( empty($this->status[$key]) ? '' : $this->status[$key] ); return $this->status; -- 2.47.3