$values = $add ? array_fill(0,count($keys),'') : explode($this->param_args_sep,$this->params['args']);
- $this->table->html_edit(array_combine($keys,$values),$this->table->base.($add ? 'insert' : 'update').'/'.$this->params['args'],$add);
+ $this->table->html_edit(array_combine($keys,$values),$this->table->base.'/'.($add ? 'insert' : 'update').'/'.$this->params['args'],$add);
}
public function table_rw() {
return 1
and ($this->perm >= self::VIEW)
and !empty($this->table)
- and ( strpos('table view',$this->table->type()) !== false )
- ;
+ and ( strpos('table view',$this->table->type()) !== false )
+ ;
}
public function table_rows($fct=null) {
$this->db->limit = $this->limit();