mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-26 00:54:27 +00:00
Remove html-Tags in tabulator text
This commit is contained in:
@@ -107,11 +107,9 @@ class Notiz extends FHC_Controller
|
||||
if(isset($_POST['typeId']))
|
||||
$type = $this->input->post('typeId');
|
||||
|
||||
//var_dump($_POST);
|
||||
|
||||
if(!$type)
|
||||
{
|
||||
$result = error('kein Type für ID vorhanden', EXIT_ERROR);
|
||||
$result = error('kein Type für ID vorhanden', ERROR);
|
||||
$this->output->set_status_header(REST_Controller::HTTP_INTERNAL_SERVER_ERROR);
|
||||
|
||||
return $this->outputJson(getError($result));
|
||||
|
||||
@@ -293,7 +293,8 @@ class Notiz_model extends DB_Model
|
||||
TO_CHAR (CASE
|
||||
WHEN n.updateamum >= n.insertamum THEN n.updateamum
|
||||
ELSE n.insertamum
|
||||
END::timestamp, 'DD.MM.YYYY HH24:MI:SS') AS lastUpdate
|
||||
END::timestamp, 'DD.MM.YYYY HH24:MI:SS') AS lastUpdate,
|
||||
regexp_replace(n.text, '<[^>]*>', '', 'g') as text_stripped
|
||||
FROM
|
||||
public.tbl_notiz n
|
||||
JOIN
|
||||
|
||||
Reference in New Issue
Block a user