Changeset 119138 in spip-zone


Ignore:
Timestamp:
Dec 19, 2019, 4:50:09 PM (16 months ago)
Author:
arno@…
Message:

Éviter warning «A non-numeric value encountered»

Location:
_plugins_/image_responsive
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/image_responsive/image_responsive_fonctions.php

    r119128 r119138  
    229229                                else if (!$vertical && $t > $l) $t = $l;
    230230                                if (_IMAGE_RESPONSIVE_RETINA_HQ) {
    231                                         $t2  = $t*2;
     231                                        $t2  = intval($t)*2;
    232232                                        if ($vertical && $t2 > $h) $t2 = $h;
    233233                                        else if (!$vertical && $t2 > $l) $t2 = $l;
  • _plugins_/image_responsive/paquet.xml

    r119128 r119138  
    22        prefix="image_responsive"
    33        categorie="multimedia"
    4         version="7.8.2"
     4        version="7.8.3"
    55        etat="stable"
    66        logo="prive/themes/spip/images/image_responsive.png"
Note: See TracChangeset for help on using the changeset viewer.