Dotclear

Changeset 2731


Ignore:
Timestamp:
11/09/10 11:29:33 (13 years ago)
Author:
Tomtom33
Message:

lunarPhase 1.1.1 : Fixed bug with live display

Location:
plugins/lunarPhase/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • plugins/lunarPhase/trunk/_define.php

    r2688 r2731  
    1717          /* Description */        'Display the moon phases', 
    1818          /* Author */             'Tomtom (http://blog.zenstyle.fr)', 
    19           /* Verion */             '1.1', 
     19          /* Verion */             '1.1.1', 
    2020          /* Premission */         'usage,contentadmin' 
    2121); 
  • plugins/lunarPhase/trunk/inc/class.lunarphase.php

    r2687 r2731  
    103103     private function setPhase() 
    104104     { 
    105           if ($this->live['age'] >= self::synodic && $this->live['age'] <= self::synodic/8) { 
     105          if ($this->live['age'] >= self::synodic || $this->live['age'] <= self::synodic/8) { 
    106106               $this->live['id'] = 'new_moon'; 
    107107               $this->live['name'] = __('New moon'); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map