Changeset 5842

Show
Ignore:
Timestamp:
06/29/08 15:24:35 (2 months ago)
Author:
p_lindheimer
Message:

#2734 fixed issue creating index with no description made it disapear

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.4/daynight/functions.inc.php

    r5282 r5842  
    268268                sql("INSERT INTO daynight (ext, dmode, dest) VALUES ('$id', 'password', '$password')"); 
    269269        } 
    270         if (isset($post['fc_description']) && trim($post['fc_description'] != "")) { 
    271                 $fc_description = trim($post['fc_description']); 
    272                 sql("INSERT INTO daynight (ext, dmode, dest) VALUES ('$id', 'fc_description', '$fc_description')"); 
    273         } 
     270        $fc_description = isset($post['fc_description']) ? trim($post['fc_description']) : ""; 
     271        sql("INSERT INTO daynight (ext, dmode, dest) VALUES ('$id', 'fc_description', '$fc_description')"); 
    274272 
    275273        $dn = new dayNightObject($id); 
  • modules/branches/2.4/daynight/module.xml

    r5794 r5842  
    22        <rawname>daynight</rawname> 
    33        <name>Day Night Mode</name> 
    4         <version>2.4.0.2</version> 
     4        <version>2.4.0.3</version> 
    55        <type>setup</type> 
    66        <category>Inbound Call Control</category> 
     
    1010        </description> 
    1111        <changelog> 
     12                *2.4.0.3* #2734 fixed issue creating index with no description made it disapear 
    1213                *2.4.0.2* #2604, #2843 fix mal-formed html tags, Russian Translation 
    13                 *2.4.0.1* #2591, added depends on 2.4.0 
     14                *2.4.0.1* #2591 added depends on 2.4.0 
    1415                *2.4.0* extension/dest registry, it translation 
    1516                *1.0.2.4* #2414 fix other unmatched ) syntax error 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads