Changeset 263

Show
Ignore:
Timestamp:
02/20/06 19:16:18 (3 years ago)
Author:
ben
Message:

Fixed the icon bug for community memberships.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/units/communities/communities_edit.php

    r110 r263  
    2727                                list($width, $height, $type, $attr) = $defaulticonparams; 
    2828                                // $info = $info[0]; 
    29                                 if ($info->icon != -1) { 
    30                                         $icon = db_query("select filename from icons where ident = " . $info->icon . " and owner = " . $info->ident); 
     29                                // if ($info->icon != -1) { 
     30                                        $icon = db_query("select filename from icons where ident = " . $info->icon); 
    3131                                        if (sizeof($icon) == 1) { 
    3232                                                $icon = $icon[0]->filename; 
     
    3636                                                } 
    3737                                        } 
    38                                
     38                                //
    3939                                 
    4040                                if (sizeof($parameter[1]) > 4) {