WIP - Removing unneccessary closing tags to prevent potential issues. (#223)

* Part 1

Removing closing tags when no HTML or other output comes after the last PHP codeblock.

* Further removals

* nothing

---------

Co-authored-by: slawkens <slawkens@gmail.com>
This commit is contained in:
SRNT-GG
2023-06-15 20:53:55 +02:00
committed by GitHub
parent 996ae625c9
commit 8d10082179
98 changed files with 14 additions and 157 deletions

View File

@@ -1,4 +1,3 @@
<?php
if(!$db->hasColumn(TABLE_PREFIX . 'hooks', 'enabled'))
$db->query("ALTER TABLE `" . TABLE_PREFIX . "hooks` ADD `enabled` INT(1) NOT NULL DEFAULT 1;");
?>
$db->query("ALTER TABLE `" . TABLE_PREFIX . "hooks` ADD `enabled` INT(1) NOT NULL DEFAULT 1;");