Changeset 9760 for modules

Show
Ignore:
Timestamp:
05/25/10 19:41:53 (3 years ago)
Author:
p_lindheimer
Message:

fixes #4296 use count not result

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.8/ivr/install.php

    r9658 r9760  
    292292 
    293293$count = sql('SELECT COUNT(*) FROM `ivr` WHERE `enable_directory` = "CHECKED"','getOne'); 
    294 if ($result) { 
     294if ($count) { 
    295295  global $db; 
    296296  $notifications =& notifications::create($db);  
  • modules/branches/2.8/ivr/module.xml

    r9706 r9760  
    22  <rawname>ivr</rawname> 
    33  <name>IVR</name> 
    4   <version>2.8.0.2</version> 
     4  <version>2.8.0.3</version> 
    55  <publisher>FreePBX</publisher> 
    66  <license>GPLv2+</license> 
     
    1111  </description> 
    1212  <changelog> 
     13    *2.8.0.3* #4296 
    1314    *2.8.0.2* #4275, #4286 
    1415    *2.8.0.1* #4257 allow direct extension dialing to Directory "contexts"