Changeset 5842
- Timestamp:
- 06/29/08 15:24:35 (2 months ago)
- Files:
-
- modules/branches/2.4/daynight/functions.inc.php (modified) (1 diff)
- modules/branches/2.4/daynight/module.xml (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.4/daynight/functions.inc.php
r5282 r5842 268 268 sql("INSERT INTO daynight (ext, dmode, dest) VALUES ('$id', 'password', '$password')"); 269 269 } 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')"); 274 272 275 273 $dn = new dayNightObject($id); modules/branches/2.4/daynight/module.xml
r5794 r5842 2 2 <rawname>daynight</rawname> 3 3 <name>Day Night Mode</name> 4 <version>2.4.0. 2</version>4 <version>2.4.0.3</version> 5 5 <type>setup</type> 6 6 <category>Inbound Call Control</category> … … 10 10 </description> 11 11 <changelog> 12 *2.4.0.3* #2734 fixed issue creating index with no description made it disapear 12 13 *2.4.0.2* #2604, #2843 fix mal-formed html tags, Russian Translation 13 *2.4.0.1* #2591 ,added depends on 2.4.014 *2.4.0.1* #2591 added depends on 2.4.0 14 15 *2.4.0* extension/dest registry, it translation 15 16 *1.0.2.4* #2414 fix other unmatched ) syntax error
