summaryrefslogtreecommitdiff
path: root/web/_views/template
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-03-30 21:28:46 -0400
committerFreya Murphy <freya@freyacat.org>2024-03-30 21:28:46 -0400
commitef7b0e26fadb882e026f1b447b6d18259057c040 (patch)
treef5831c9c64b3fd95d8fa73b382d1717e10370684 /web/_views/template
parentpost comments, refactor post loading, hide load more btn (diff)
downloadxssbook2-ef7b0e26fadb882e026f1b447b6d18259057c040.tar.gz
xssbook2-ef7b0e26fadb882e026f1b447b6d18259057c040.tar.bz2
xssbook2-ef7b0e26fadb882e026f1b447b6d18259057c040.zip
refactor asset dir, refactor oberver in lib
Diffstat (limited to 'web/_views/template')
-rw-r--r--web/_views/template/post.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/_views/template/post.php b/web/_views/template/post.php
index 4fbf485..0541026 100644
--- a/web/_views/template/post.php
+++ b/web/_views/template/post.php
@@ -28,7 +28,7 @@
<?php endif; ?>
<div class="col comments">
<?php
- $_GET['id'] = $post['id'];
+ $_GET = array('id' => $post['id']);
$cdata = $this->comments();
$loaded = $cdata['loaded'];