Ignore:
Timestamp:
Dec 29, 2010, 11:52:30 PM (13 years ago)
Author:
rub
Message:

Fix use of $_GET to init FB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/FacebookPlug/Plugin/include/header.inc.php

    r8386 r8387  
    9191        (script_basename() == 'admin')
    9292        and
    93         ($_GET['page'] == 'plugin')
     93        (isset($_GET['page']) and $_GET['page'] == 'plugin')
    9494        and
    95         (strtok($_GET['section'], '/') == 'FacebookPlug')
    96         //~ ($conf['fbp']['social_plugin_activity_feed']['enabled'] or $conf['fbp']['social_plugin_like_box']['enabled'])
     95        (isset($_GET['section']) and strtok($_GET['section'], '/') == 'FacebookPlug')
    9796      )
    9897    )
Note: See TracChangeset for help on using the changeset viewer.