friendica/mods/patches/level-2-dice-dice-php.patch

11 lines
268 B
Diff
Raw Normal View History

2023-01-16 15:12:47 -05:00
--- /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;
}
}
}