From: Nicolas Boisselier Date: Mon, 15 Jan 2018 01:51:54 +0000 (+0000) Subject: lib/php/db/field.php X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=bacaf76b585ed2f074d909438f6b9d86237c4496;p=nb.git lib/php/db/field.php --- diff --git a/lib/php/db/field.php b/lib/php/db/field.php index 347fc424..bf0080e1 100644 --- a/lib/php/db/field.php +++ b/lib/php/db/field.php @@ -150,7 +150,7 @@ class field extends nb { return $this->db()->cast_text($name); } - public function sql_name(bool $cast=false) { + public function sql_name($cast=false) { if ($cast and !$this->text()) return $this->sql_name_cast_text(); return $this->db()->sql_name($this->name); }