Changeset 3576

Show
Ignore:
Timestamp:
01/18/07 13:53:29 (2 years ago)
Author:
p_lindheimer
Message:

allow null and blank values to be put into astdb

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.2/amp_conf/htdocs/admin/common/php-asmanager.php

    r2710 r3576  
    742742         */ 
    743743        function database_put($family, $key, $value) { 
     744                $value = (trim($value) == '')?'"'.$value.'"':$value; 
    744745                $r = $this->command("database put ".str_replace(" ","/",$family)." ".str_replace(" ","/",$key)." ".$value); 
    745746                return (bool)strstr($r["data"], "success"); 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads