Plugin Directory

Changeset 1156852


Ignore:
Timestamp:
05/09/2015 12:53:01 PM (11 years ago)
Author:
Matthieu20
Message:

fix some errors

Location:
aweber-dev-facile
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • aweber-dev-facile/tags/0.2/classes/settings.php

    r1156841 r1156852  
    5656    public function getDatasByLists($sSelectedLists)
    5757    {   
    58 
    59         if ( !$this->pluginAdminOptions['content_infos'])
     58        // if the value amlready exist
     59        if ( ! isset($this->pluginAdminOptions['content_infos']) )
    6060        {
    6161            $oDataInfos = new AWeberDevFacile_dataInfos(-9, 0);
     
    118118
    119119        // create an array with infos
    120         if ( !$this->pluginAdminOptions['content_infos'])
     120        if ( ! isset($this->pluginAdminOptions['content_infos']) )
    121121        {
    122122            $aCountLists[0] = array();
     
    148148    {
    149149
    150         if ( !$this->pluginAdminOptions['content_infos'])
     150        if ( ! isset($this->pluginAdminOptions['content_infos']) )
    151151        {
    152152            return 1;// no infos, add it
  • aweber-dev-facile/trunk/classes/settings.php

    r1156841 r1156852  
    5656    public function getDatasByLists($sSelectedLists)
    5757    {   
    58 
    59         if ( !$this->pluginAdminOptions['content_infos'])
     58        // if the value amlready exist
     59        if ( ! isset($this->pluginAdminOptions['content_infos']) )
    6060        {
    6161            $oDataInfos = new AWeberDevFacile_dataInfos(-9, 0);
     
    118118
    119119        // create an array with infos
    120         if ( !$this->pluginAdminOptions['content_infos'])
     120        if ( ! isset($this->pluginAdminOptions['content_infos']) )
    121121        {
    122122            $aCountLists[0] = array();
     
    148148    {
    149149
    150         if ( !$this->pluginAdminOptions['content_infos'])
     150        if ( ! isset($this->pluginAdminOptions['content_infos']) )
    151151        {
    152152            return 1;// no infos, add it
Note: See TracChangeset for help on using the changeset viewer.