mirror of
https://github.com/e107inc/e107.git
synced 2025-08-16 03:24:20 +02:00
PHP8 Compatibility and code cleanup.
This commit is contained in:
@@ -174,9 +174,9 @@ class bb_youtube extends e_bb_base
|
||||
|
||||
|
||||
$yID = preg_replace('/[^0-9a-z]/i', '', $picRef);
|
||||
if (($yID != $picRef) || (strlen($yID) > 20))
|
||||
{ // Possible hack attempt
|
||||
}
|
||||
//if (($yID != $picRef) || (strlen($yID) > 20))
|
||||
// { // Possible hack attempt
|
||||
// }
|
||||
// $params = array_merge($params, $bbpars); // Any parameters set in bbcode override those in HTML
|
||||
// Could check for valid array indices here
|
||||
$paramString = implode('&', $params);
|
||||
|
Reference in New Issue
Block a user