/[drupal]/contributions/modules/family/individual.inc
ViewVC logotype

Diff of /contributions/modules/family/individual.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.4.2.1, Thu Oct 9 01:55:57 2008 UTC revision 1.4.2.2, Sat Dec 6 03:23:35 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: individual.inc,v 1.2.4.5.4.6 2008/07/18 03:04:50 pyutaros Exp $  // $Id: individual.inc,v 1.4.2.1 2008/10/09 01:55:57 pyutaros Exp $
3  /**  /**
4   * Implementation of hook_access().   * Implementation of hook_access().
5   */   */
# Line 61  if ($type->has_title) { Line 61  if ($type->has_title) {
61    );    );
62    $ancestorgroups=array();    $ancestorgroups=array();
63    $groups=db_query('SELECT nid, title_format FROM {family_group}');    $groups=db_query('SELECT nid, title_format FROM {family_group}');
64    while($data = mysql_fetch_array($groups)){    if($groups){
65    $ancestorgroups[$data['nid']]=$data['title_format'];    while($data = db_fetch_array($groups)){
66            $ancestorgroups[$data['nid']]=$data['title_format'];
67      }
68    }    }
69    $form['GRUP'] = array(    $form['GRUP'] = array(
70      '#type' => 'select',      '#type' => 'select',

Legend:
Removed from v.1.4.2.1  
changed lines
  Added in v.1.4.2.2

  ViewVC Help
Powered by ViewVC 1.1.2