diff options
| author | dumpfmprod <dumpfmprod@ubuntu.(none)> | 2010-03-17 07:30:19 -0400 |
|---|---|---|
| committer | dumpfmprod <dumpfmprod@ubuntu.(none)> | 2010-03-17 07:30:19 -0400 |
| commit | 0cb2ca7af30d47e6ff3a5b0e4afd7e5a85e23315 (patch) | |
| tree | 54d465066426117eb1cc0b5ad5c0309a2b99a224 | |
| parent | 436b7f8992baf25bc48ff28516fce4234f619b6d (diff) | |
| parent | 574361d93fed7583e6a4bc46defb17516a4a41ed (diff) | |
Merge branch 'master' of /pichat/repo
| -rwxr-xr-x | src/site.clj | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/site.clj b/src/site.clj index 9ecff8d..e0a03e4 100755 --- a/src/site.clj +++ b/src/site.clj @@ -247,6 +247,7 @@ (let [st (.getInstanceOf template-group template)] (if (session :nick) (do (.setAttribute st "user_nick" (session :nick)) + (if (non-empty-string? (session :avatar)) (.setAttribute st "user_avatar" (session :avatar))) (.setAttribute st "isadmin" (session :is_admin)))) st)) |
