From bacaf76b585ed2f074d909438f6b9d86237c4496 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Mon, 15 Jan 2018 01:51:54 +0000 Subject: [PATCH] lib/php/db/field.php --- lib/php/db/field.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.47.3