Commit 3564fb04 authored by Dries's avatar Dries

- Patch #410044 by WorldFallz, jmburnz: don't output an empty div.

parent 6e334892
......@@ -15,6 +15,8 @@
* @see template_preprocess_user_picture()
*/
?>
<div class="picture">
<?php print $picture; ?>
</div>
<?php if ($picture): ?>
<div class="picture">
<?php print $picture; ?>
</div>
<?php endif; ?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment