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

Commit

Permalink
Updated code to fix a bug
Browse files Browse the repository at this point in the history
Updated code to fix a bug
  • Loading branch information
MercenaryCarter committed Aug 29, 2017
1 parent 2b40ded commit 84d282a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions perl/list-all-project-domains.pl
Expand Up @@ -6,7 +6,7 @@
#
# This output is text format
#
# Last updated - Aug 24th, 2017 @ 16:16 EST (@MercenaryCarter https://github.com/MercenaryCarter and https://twitter.com/MercenaryCarter)
# Last updated - Aug 29th, 2017 @ 13:58 EST (@MercenaryCarter https://github.com/MercenaryCarter and https://twitter.com/MercenaryCarter)
#
# Run Command: perl list-all-projects-domains.pl

Expand Down Expand Up @@ -56,8 +56,8 @@

$domain = $JSON_DATA{'projects'}{$Project_ID}{'domains'}{$domain_id}{'domain'};
$orm_tag = $JSON_DATA{'projects'}{$Project_ID}{'domains'}{$domain_id}{'orm'};
if (defined $JSON_DATA{'projects'}{$Project_ID}{'domains'}{$domain_id}{'settings'}{'type'}) {
$settings_type = $JSON_DATA{'projects'}{$Project_ID}{'domains'}{$domain_id}{'settings'}{'type'};
if (defined $JSON_DATA{'projects'}{$Project_ID}{'domains'}{$domain_id}{'setting'}{'type'}) {
$settings_type = $JSON_DATA{'projects'}{$Project_ID}{'domains'}{$domain_id}{'setting'}{'type'};
}else {
$settings_type = "(n/a)";
}
Expand Down
6 changes: 3 additions & 3 deletions perl/list-all-project-tags.pl
Expand Up @@ -6,7 +6,7 @@
#
# This output is text format
#
# Last updated - Aug 24th, 2017 @ 19:03 EST (@MercenaryCarter https://github.com/MercenaryCarter and https://twitter.com/MercenaryCarter)
# Last updated - Aug 29th, 2017 @ 13:58 EST (@MercenaryCarter https://github.com/MercenaryCarter and https://twitter.com/MercenaryCarter)
#
# Run Command: perl list-all-projects-tags.pl

Expand Down Expand Up @@ -58,8 +58,8 @@
$tag = $JSON_DATA{'projects'}{$Project_ID}{'tags'}{$tag_id}{'tag'};
$orm_tag = $JSON_DATA{'projects'}{$Project_ID}{'tags'}{$tag_id}{'orm'};

if (defined $JSON_DATA{'projects'}{$Project_ID}{'tags'}{$tag_id}{'settings'}{'type'}) {
$settings_type = $JSON_DATA{'projects'}{$Project_ID}{'tags'}{$tag_id}{'settings'}{'type'};
if (defined $JSON_DATA{'projects'}{$Project_ID}{'tags'}{$tag_id}{'setting'}{'type'}) {
$settings_type = $JSON_DATA{'projects'}{$Project_ID}{'tags'}{$tag_id}{'setting'}{'type'};
}else {
$settings_type = "(n/a)";
}
Expand Down
2 changes: 1 addition & 1 deletion php/list-all-project-domains.php
Expand Up @@ -6,7 +6,7 @@
//
// This output is HTML code
//
// Last updated - Aug 24th, 2017 @ 18:54 EST (@MercenaryCarter https://github.com/MercenaryCarter and https://twitter.com/MercenaryCarter)
// Last updated - Aug 29th, 2017 @ 13:58 EST (@MercenaryCarter https://github.com/MercenaryCarter and https://twitter.com/MercenaryCarter)
//
//
// Run Command: php list-all-project-domains.php
Expand Down
2 changes: 1 addition & 1 deletion php/list-all-project-tags.php
Expand Up @@ -6,7 +6,7 @@
//
// This output is HTML code
//
// Last updated - Aug 24th, 2017 @ 18:54 EST (@MercenaryCarter https://github.com/MercenaryCarter and https://twitter.com/MercenaryCarter)
// Last updated - Aug 29th, 2017 @ 13:58 EST (@MercenaryCarter https://github.com/MercenaryCarter and https://twitter.com/MercenaryCarter)
//
//
// Run Command: php list-all-project-tags.php
Expand Down

0 comments on commit 84d282a

Please sign in to comment.