Ignore:
Timestamp:
Jun 24, 2012, 1:31:40 PM (12 years ago)
Author:
mistic100
Message:

fix possible warnings when activating
clean index.php

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/GooglePlusOne/maintain.inc.php

    r15123 r15994  
    22function plugin_install()
    33{
    4   $conf = array(
     4  $google_conf = array(
    55    'size' => 'medium',
    66    'position' => 'toolbar',
     
    88    );
    99     
    10   conf_update_param('GooglePlusOne', serialize($conf));
     10  conf_update_param('GooglePlusOne', serialize($google_conf));
    1111}
    1212
     
    1717  if (@unserialize($conf['GooglePlusOne']) === false)
    1818  {
    19     $conf = explode(',', $conf['GooglePlusOne']);
    20     $conf = array(
    21       'size' => $conf[0],
    22       'position' => $conf[1],
     19    $google_conf = explode(',', $conf['GooglePlusOne']);
     20    $google_conf = array(
     21      'size' => $tweet_conf[0],
     22      'position' => $tweet_conf[1],
    2323      'annotation' => 'bubble',
    2424      );
    2525     
    26     conf_update_param('GooglePlusOne', serialize($conf));
     26    conf_update_param('GooglePlusOne', serialize($google_conf));
    2727  }
    2828}
Note: See TracChangeset for help on using the changeset viewer.