From: Nicolas Boisselier Date: Tue, 9 Jun 2015 16:12:37 +0000 (+0100) Subject: db edit X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=b1bb1554e9bf4fb25365c3caff1c25a8af0efa30;p=nb.git db edit --- diff --git a/lib/php/db.php b/lib/php/db.php index a5787924..5dff605a 100644 --- a/lib/php/db.php +++ b/lib/php/db.php @@ -314,6 +314,7 @@ FROM pg_catalog.pg_attribute a WHERE a.attrelid = (SELECT c.oid FROM pg_catalog. function edit($ids) { if (!is_array($ids)) $ids = array($ids); + return $this->fields_keys(); $sql = "SELECT *" . $this->select_extras(); $sql .= " FROM $this->name".$this->where_criterias(); $this->sql = $sql;