/[drupal]/contributions/modules/blogtheme/blog_theme.module
ViewVC logotype

Diff of /contributions/modules/blogtheme/blog_theme.module

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

revision 1.20.2.8, Tue Sep 30 08:58:26 2008 UTC revision 1.20.2.9, Wed Jan 7 10:49:44 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: blog_theme.module,v 1.20.2.7 2008/08/14 03:59:32 augustin Exp $  // $Id: blog_theme.module,v 1.20.2.8 2008/09/30 08:58:26 augustin Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 55  function blog_theme_init() { Line 55  function blog_theme_init() {
55        }        }
56        break;        break;
57      }      }
58      elseif ($node = node_load(array('nid' => $nid))) { // /node/$nid      elseif (is_numeric($nid) && $node = node_load(array('nid' => $nid))) { // /node/$nid
59        $allowed_types = variable_get('blog_theme_node_types', array());        $allowed_types = variable_get('blog_theme_node_types', array());
60        if (!empty($allowed_types[$node->type])) {        if (!empty($allowed_types[$node->type])) {
61          $uid = $node->uid;          $uid = $node->uid;

Legend:
Removed from v.1.20.2.8  
changed lines
  Added in v.1.20.2.9

  ViewVC Help
Powered by ViewVC 1.1.2