Skip to content

Commit

Permalink
only placehold empty strings
Browse files Browse the repository at this point in the history
  • Loading branch information
scribu committed May 12, 2011
1 parent dc5953f commit 4e66232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/fields/base.php
Expand Up @@ -107,7 +107,7 @@ protected function placeholder() {
}

protected function placehold( $content ) {
if ( empty( $content ) )
if ( '' === $content )
$content = $this->placeholder();

return $content;
Expand Down

0 comments on commit 4e66232

Please sign in to comment.