Changeset 15 for trunk/includes

Show
Ignore:
Timestamp:
08/09/05 22:30:14 (7 years ago)
Author:
alexx
Message:
  • fix last bug in communities (see [14])
  • execute a "conversion smarty style" script ;) : for i in find . -type f | grep "\.php$" | grep -v "\.svn"; do perl -pi -e "s/\\\$smarty->assign\((.*),(.*)\);/\\\$_SMARTY\[\$1\] = \$2;/" $i; done
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/includes/functions.inc.php

    r14 r15  
    308308 
    309309                } 
     310                else 
     311                        $info['friends_id'] = array(); 
    310312 
    311313                if(array_key_exists('communities_id', $info) && $info['communities_id'] != NULL) 
     
    314316                                else 
    315317                                        $info['communities_id'] = array($info['communities_id']); 
     318                else 
     319                        $info['communities_id'] = array(); 
    316320                return $info; 
    317321        }