@@ -38,7 +38,7 @@ class Api
$num = $total;
}
- $key = array_rand($template, $num);
+ $key = array_rand($template, 1);
if (is_array($key)) {
$result = array();