Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
3564fb04
Commit
3564fb04
authored
Apr 24, 2009
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Patch
#410044
by WorldFallz, jmburnz: don't output an empty div.
parent
6e334892
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
modules/user/user-picture.tpl.php
modules/user/user-picture.tpl.php
+5
-3
No files found.
modules/user/user-picture.tpl.php
View file @
3564fb04
...
...
@@ -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
;
?>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment