mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 00:04:27 +02:00
Add Dice.php patch
This commit is contained in:
parent
3749892f59
commit
d17a21601c
3 changed files with 115 additions and 2 deletions
10
mods/patches/level-2-dice-dice-php.patch
Normal file
10
mods/patches/level-2-dice-dice-php.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- /dev/null
|
||||
+++ ../Dice.php
|
||||
@@ -257,6 +257,7 @@
|
||||
for ($i = 0; $i < count($args); $i++) {
|
||||
if (call_user_func('is_' . $param->getType()->getName(), $args[$i])) {
|
||||
$parameters[] = array_splice($args, $i, 1)[0];
|
||||
+ break;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue