white space fixes for Form class

This commit is contained in:
Clemens Schwaighofer
2017-11-24 13:22:20 +09:00
parent a06320c42b
commit 7a8fdcdf07

View File

@@ -596,7 +596,7 @@
{ {
$t_pk_name = $this->archive_pk_name; $t_pk_name = $this->archive_pk_name;
// lade liste // lade liste
$this->db_exec($this->load_query); $this->db_exec($this->load_query);
while ($res = $this->db_fetch_array()) while ($res = $this->db_fetch_array())
{ {
@@ -1241,7 +1241,6 @@
else else
{ {
// if a where was given, set this key also [dangerous!] // if a where was given, set this key also [dangerous!]
// postgreSQL compatible insert // postgreSQL compatible insert
$q = "INSERT INTO ".$this->table_array[$key]["table_name"]." (".$this->table_array[$key]["input_name"].") VALUES ('".$this->db_escape_string($this->table_array[$key]["input_value"])."')"; $q = "INSERT INTO ".$this->table_array[$key]["table_name"]." (".$this->table_array[$key]["input_name"].") VALUES ('".$this->db_escape_string($this->table_array[$key]["input_value"])."')";
$this->db_exec($q); $this->db_exec($q);