aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/sys
diff options
context:
space:
mode:
Diffstat (limited to 'ratatoeskr/sys')
-rw-r--r--ratatoeskr/sys/utils.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ratatoeskr/sys/utils.php b/ratatoeskr/sys/utils.php
index 5e132f4..bdb472c 100644
--- a/ratatoeskr/sys/utils.php
+++ b/ratatoeskr/sys/utils.php
@@ -25,7 +25,7 @@
function array_repeat($val, $n)
{
$rv = array();
- for($i = 1; $i < $n; ++$i)
+ for($i = 0; $i < $n; ++$i)
array_push($rv, $val);
return $rv;
}