WordPress.org

Plugin Directory

Changeset 437440


Ignore:
Timestamp:
09/13/11 13:21:39 (3 years ago)
Author:
hebbet
Message:

fixed possible php notices

Location:
picasa-upload/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • picasa-upload/trunk/picasa-upload.php

    r437319 r437440  
    44Plugin URI: http://wordpress.org/extend/plugins/picasa-upload/ 
    55Description: integrierter Upload zu Picasa Web beim verfassen von Artikel 
    6 Version: 0.5 
     6Version: 0.5.1 
    77Author: Pascal 
    88Author URI: http://www.pascal90.de 
     
    4848}  
    4949//script hinzufügen, wenn Bild und von url 
    50 $tab = $_GET['tab']; 
    51 $type = $_GET['type']; 
    52 if ($type==image&&$tab==type_url) 
     50if(!empty($_GET['tab'])&&$_GET['tab']=='type_url'&&!empty($_GET['type'])&&$_GET['type']=='image') 
    5351{ 
    54 add_action( 'admin_print_scripts-media-upload-popup','picasa_upload_scripts' );  
     52    add_action( 'admin_print_scripts-media-upload-popup','picasa_upload_scripts' );  
    5553} 
    5654?> 
  • picasa-upload/trunk/readme.txt

    r437350 r437440  
    4141== Changelog == 
    4242 
     43= 0.5.1 = 
     44* Fix für mögliche PHP Notices bei der Abfrage des Tabs. 
     45 
    4346= 0.5 = 
    4447* erste Version. 
Note: See TracChangeset for help on using the changeset viewer.