fix weird ping messages

This commit is contained in:
biglyderv 2025-01-05 02:47:50 -05:00
parent b27b98fe3f
commit 162bd9c8cb
3 changed files with 4 additions and 4 deletions

View file

@ -1,11 +1,11 @@
<?php
require("../libs/markdown.php");
function comments($typer, $idr) {
function comments($typer, $idr, $disable = false) {
$ref = 1732684297;
global $username;
global $db;
$page = array_key_exists('page',$_GET) ? ($_GET['page']) : 0;
if ($username) {
if ($username && !$disable) {
form("Broadcast your thoughts...", '', array(
array('key' => 'Your message', 'type' => 'textarea', 'name' => 'post', 'default' => ''),
array('key' => '','type' => 'hidden','name' => 'type', 'default' => $typer),