Added array_val_assign() function
This commit is contained in:
parent
476f75e8bc
commit
462bdd8e78
1 changed files with 10 additions and 1 deletions
|
@ -178,7 +178,7 @@
|
|||
*/
|
||||
|
||||
function cbmail($array) {
|
||||
#return true;
|
||||
return true;
|
||||
$func_array = get_functions('email_functions');
|
||||
if(is_array($func_array)) {
|
||||
foreach($func_array as $func) {
|
||||
|
@ -5541,6 +5541,15 @@
|
|||
}
|
||||
unlink($filepath);
|
||||
}
|
||||
|
||||
function array_val_assign($vals) {
|
||||
if (is_array($vals)) {
|
||||
$total_vars = count($vals);
|
||||
foreach ($vals as $name => $value) {
|
||||
assign($name, $value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
include( 'functions_db.php' );
|
||||
include( 'functions_filter.php' );
|
||||
|
|
Loading…
Add table
Reference in a new issue