e107_admin/emoticon.php
Avoid deeply nested control flow statements. Open
Open
if (preg_match("#\<object\s*?mime\=[\"\']image\/.*?\>(.*?)\<\/object\>#si", $match[1][$a], $fmatch))
{
$e_file = $fmatch[1];
// echo "xep-0038 file: ".$e_file."<br />";
// Pull out all match strings - need to pick out any language definitions for posterity
Variable $pref
was undeclared, but array fields are being added to it. Open
Open
$pref['smiley_activate'] = (int) $_POST['smiley_activate'];
- Exclude checks
Variable $_emoteconf
is undeclared Open
Open
$tmp = $_emoteconf; // Use consistent name
- Exclude checks
Argument 1 (text)
is null
but \e_parse::filter()
takes array|string
defined at /code/e107_handlers/e_parse_class.php:5119
Open
Open
$filtered = e107::getParser()->filter($_POST);
- Exclude checks
When fetching an array index from a value of type '',
found an array index of type 'type',
but expected the index to be of type int
Open
Open
if ($confFile['type'] == "php")
- Exclude checks
When fetching an array index from a value of type '',
found an array index of type 'file',
but expected the index to be of type int
Open
Open
include_once(e_IMAGE . "emotes/" . $value . "/" . $confFile['file']);
- Exclude checks
Call to deprecated function \getperms()
defined at /code/class2.php:1322
Open
Open
if (!getperms("F"))
- Exclude checks
When fetching an array index from a value of type '',
found an array index of type 'file',
but expected the index to be of type int
Open
Open
$filename = e_IMAGE . "emotes/" . $value . "/" . $confFile['file'];
- Exclude checks
When fetching an array index from a value of type '',
found an array index of type 'type',
but expected the index to be of type int
Open
Open
if ($confFile['type'] == "xml")
- Exclude checks
When fetching an array index from a value of type '',
found an array index of type 'type',
but expected the index to be of type int
Open
Open
if ($confFile['type'] == "pak")
- Exclude checks
Variable $pref
is undeclared Open
Open
if ($pref['smiley_activate'] != $_POST['smiley_activate'])
- Exclude checks
Argument 2 (vals)
is int
but \e_parse::lanVars()
takes array|string
defined at /code/e107_handlers/e_parse_class.php:3842
Open
Open
<div class='info-bar' style='padding-bottom:10px'>" . $tp->lanVars(EMOLAN_31, count($eArray)) . "</div>
- Exclude checks
When fetching an array index from a value of type '',
found an array index of type 'file',
but expected the index to be of type int
Open
Open
$filename = e_IMAGE . "emotes/" . $value . "/" . $confFile['file'];
- Exclude checks