friendica/mods/patches/level-2-dice-dice-php.patch
2023-01-16 21:55:23 +01:00

11 lines
268 B
Diff

--- /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;
}
}
}