Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/v1.0.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
Hipska committed Aug 21, 2013
2 parents cbdfd6c + 52f684c commit 406aaac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion autom8_utilities.php
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,9 @@ function duplicate_autom8_report_rules($report_ids, $name_format) {
$save_fields = array();
foreach($fields_autom8_report_rules as $field => &$array ){
if (!preg_match('/^hidden/', $array['method'])) {
$save_fields[] = $field;
if(preg_match('/\|arg1:(\w+)\|/', $array['value'], $value))
$save_fields[] = $value[1];
else $save_fields[] = $field;
}
}

Expand Down
3 changes: 2 additions & 1 deletion setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function plugin_autom8reportit_version() {
function autom8reportit_version() {
return array(
'name' => 'Autom8-Reportit',
'version' => '1.0.1',
'version' => '1.0.2',
'longname' => 'Automate add/remove DS on reports',
'author' => 'Thomas Casteleyn',
'email' => 'thomas.casteleyn@super-visions.com',
Expand Down Expand Up @@ -200,6 +200,7 @@ function autom8reportit_config_form () {
"array" => array(
AUTOM8_REPORT_ACTION_MERGE => "Merge",
AUTOM8_REPORT_ACTION_OVERWRITE => "Overwrite",
AUTOM8_REPORT_ACTION_DELETE => "Delete",
),
"default" => "0",
),
Expand Down

0 comments on commit 406aaac

Please sign in to comment.