Commit 7b87e930 by nurchamim

modul : bug pengumuman

status : selesai
keterangan : bug fix link detail
parent 7eb5409d
...@@ -37,7 +37,7 @@ class Pengumuman extends MY_Controller ...@@ -37,7 +37,7 @@ class Pengumuman extends MY_Controller
$isi_berita .= $this->fungsi->tgl_indo($tgl_pengumuman) . " " . $jam_pengumuman . "<br><br>"; $isi_berita .= $this->fungsi->tgl_indo($tgl_pengumuman) . " " . $jam_pengumuman . "<br><br>";
if (strlen($field->content) >= 1000) { if (strlen($field->content) >= 1000) {
$isi_berita .= substr($field->content, 0, 1000) . "...... <br>"; $isi_berita .= substr($field->content, 0, 1000) . "...... <br>";
$isi_berita .= "<a href='" . route('informasi.pengumuman.detail') . "/" . md5($field->id_berita) . "'>" . $this->lang->line('lihat_detail') . "</a>"; $isi_berita .= "<a href='" . route('informasi.pengumuman.detail') . "/" . md5($field->id_pengumuman) . "'>" . $this->lang->line('lihat_detail') . "</a>";
} else { } else {
$isi_berita .= $field->content; $isi_berita .= $field->content;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment