Plugin Directory

Changeset 1673175


Ignore:
Timestamp:
06/08/2017 10:18:45 AM (9 years ago)
Author:
fensoft
Message:

Bugfix with vote validation

Location:
fenshop/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • fenshop/trunk/FenShop.php

    r1671241 r1673175  
    44 * Plugin URI: http://fensoftheberge.com
    55 * Description: Lien vers FenShop - Boutique gaming sur mesure / Link to FenShop - Full customizable gaming shop
    6  * Version: 1.12
     6 * Version: 1.12.1
    77 * Author: fensoft
    88 * Author URI: http://fensoftheberge.com
     
    501501        if (!isset(self::$cache["vote_validate"]))
    502502          self::$cache["vote_validate"] = self::$fenshop->voteValidate();
    503         $vote = self::$cache["vote_validate"][$matches[1][$id]];
     503        $votes = (array)(self::$cache["vote_validate"]);
     504        $vote = $votes[$matches[1][$id]];
    504505        if ($vote->status->status == "add")
    505506          $content = str_replace($matches[0][$id], $matches[2][$id], $content);
  • fenshop/trunk/readme.txt

    r1671241 r1673175  
    5555== Changelog ==
    5656
     57= 1.12.1 =
     58Correctif avec la validation des votes
     59Bugfix with vote validation
     60
    5761= 1.12 =
    5862Changement des screenshots, page de validation qui affiche l'erreur
Note: See TracChangeset for help on using the changeset viewer.