Correct function name
authorJoey Schulze <joey@infodrom.org>
Mon, 13 May 2013 19:48:18 +0000 (19:48 +0000)
committerJoey Schulze <joey@infodrom.org>
Mon, 13 May 2013 19:48:18 +0000 (19:48 +0000)
src/InfoCon/stempel/edit.wml

index 894544f..ed0c429 100644 (file)
@@ -62,7 +62,7 @@ $name = load_customers();
 $cname = $name[$row['customer']];
 if (!strlen($cname)) $cname = ucfirst($row['customer']);
 
-printf('<h3 class="bar" align="center">%s: %s</h3>', $cname, substring($row['task'],0,80-strlen($cname)));
+printf('<h3 class="bar" align="center">%s: %s</h3>', $cname, substr($row['task'],0,80-strlen($cname)));
 ?>
 
 <form method=post action="update.php">