Changeset 28236


Ignore:
Timestamp:
04/20/14 09:21:38 (5 years ago)
Author:
ddtddt
Message:

[extensions] - meta

Location:
extensions/meta
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/meta/admin/admin.php

    r26359 r28236  
    227227 
    228228        case 'contactmeta': 
     229if (empty($conf['contactmeta'])) 
     230 { 
     231 $conf['contactmeta'] = ','; 
     232 } 
    229233 
    230234$metacontact = explode(',', $conf['contactmeta']); 
  • extensions/meta/main.inc.php

    r24394 r28236  
    139139        { 
    140140        global $conf; 
    141           if (isset($page['section']) and $page['section'] == 'contact') 
     141        if (isset($page['section']) and $page['section'] == 'contact' and isset($conf['contactmeta']) and strpos($conf['contactmeta'], ',') !== false) 
    142142                { 
    143143$metacontact = explode(',', $conf['contactmeta']); 
  • extensions/meta/maintain.inc.php

    r26983 r28236  
    4848$majvalue2=$row['value']; 
    4949 
    50 if (!$majvalue2==1 and !is_adviser()) 
     50if (!$majvalue2==1) 
    5151 { 
    5252 
Note: See TracChangeset for help on using the changeset viewer.