1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 17:44:37 +02:00

Code cleanup.

This commit is contained in:
lonalore
2016-12-15 15:08:49 +01:00
parent d5f9b9ac5e
commit d03cdda0af
7 changed files with 58 additions and 41 deletions

View File

@@ -54,17 +54,17 @@ if (isset($_POST['active']))
}
$ns->tablerender($caption, $mes->render() . $text);
e107::getRender()->tablerender($caption, $mes->render() . $text);
/* get packs */
require_once(e_HANDLER."file_class.php");
$fl = e107::getFile();
$emote = new emotec;
$one_pack = FALSE;
$filtered = e107::getParser()->filter($_POST);
// Check for pack-related buttons pressed
foreach($_POST as $key => $value)
foreach($filtered as $key => $value)
{
if(strstr($key, "subPack_"))
{