Fixed placeholder after page reload

The placeholder somehow had too many characters stripping from it...
This commit is contained in:
Vincent Petry 2013-12-02 18:49:34 +01:00
parent b83e891456
commit d6121464a0

View file

@ -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); ?>"