}
- private function url_list($k='',$v='') {
+ public function url_list($k='',$v='') {
$params = [];
$fields = ($this->p('action') == 'delete') ? [] : $this->fields();
;
#debug($params);
if (!$this->delete($params,$e) and !isset($e['rowCount'])) bye($e);
- $this->db()->print_header('Location',$this->url_referer(str_replace('&','&',$this->url_list())));
+ # NB 21.01.25 $this->db()->print_header('Location',$this->url_referer(str_replace('&','&',$this->url_list())));
$this->out($e);
return true;
} elseif ($action == 'table.replace') {
if (!$this->replace($_POST,$e) and !isset($e['rowCount'])) bye($e);
- $this->db()->print_header('Location',$this->url_referer());
+ # NB 21.01.25 $this->db()->print_header('Location',$this->url_referer());
$this->out($e);
return true;
} elseif ($action == 'table.insert') {
if (!$this->insert($_POST,$e)) bye();
- $this->db()->print_header('Location',$this->url_referer());
+ # NB 21.01.25 $this->db()->print_header('Location',$this->url_referer());
$this->out($e);
return true;
} elseif ($action == 'table.update') {
if ($this->update($_POST,$e) === false) bye($e);
- $this->db()->print_header('Location',$this->url_referer());
+ # NB 21.01.25 $this->db()->print_header('Location',$this->url_referer());
$this->out($e);
return true;