Use short form array syntax everywhere
- Add short form array syntax to po2php.php generation
This commit is contained in:
@@ -22,7 +22,7 @@ class Oembed extends BaseModule
|
||||
|
||||
// Unused form: /oembed/b2h?url=...
|
||||
if ($a->argv[1] == 'b2h') {
|
||||
$url = array("", trim(hex2bin($_REQUEST['url'])));
|
||||
$url = ["", trim(hex2bin($_REQUEST['url']))];
|
||||
echo Content\OEmbed::replaceCallback($url);
|
||||
killme();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user