Fixed placeholder after page reload

The placeholder somehow had too many characters stripping from it...
remotes/origin/stable6
Vincent Petry 2013-12-02 18:49:34 +07:00
parent e372971f2b
commit f2e17a0b68
1 changed files with 1 additions and 1 deletions

@ -60,7 +60,7 @@
class="optional"
data-parameter="<?php p($parameter); ?>"
value="<?php p($value); ?>"
placeholder="<?php p(substr($placeholder, 5)); ?>" />
placeholder="<?php p(substr($placeholder, 1)); ?>" />
<?php elseif (strpos($placeholder, '#') !== false): ?>
<input type="hidden"
data-parameter="<?php p($parameter); ?>"