Changeset 71552 in spip-zone


Ignore:
Timestamp:
Apr 4, 2013, 8:55:49 AM (8 years ago)
Author:
kent1@…
Message:

Eviter une notice

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/socialtags/socialtags.js_fonctions.php

    r63307 r71552  
    1717                $t = _q($service['titre']);
    1818                $u = _q($service['url']);
    19                 $d = _q($service['descriptif']);
     19                $d = isset($service['descriptif']) ? _q($service['descriptif']) : $t;
    2020                $u_site = _q($GLOBALS['meta']['adresse_site']);
    2121                $i = _q('data:image/png;base64,'.base64_encode(file_get_contents(find_in_path('images/'.$a.'.png'))));
Note: See TracChangeset for help on using the changeset viewer.