Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix issue #180. #181

Open
wants to merge 1 commit into from

1 participant

@trevormorse
Collaborator

If there were multiple parameters for an action the template was also running the
code for a single parameter action. Added logic to prevent this, and use
proper variables when it happens.

@trevormorse trevormorse Fix issue #180.
If there were multiple parameters for an action the template was also running the
code for a single parameter action. Added logic to prevent this, and use
proper variables when it happens.
878d5e0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 3, 2012
  1. @trevormorse

    Fix issue #180.

    trevormorse authored
    If there were multiple parameters for an action the template was also running the
    code for a single parameter action. Added logic to prevent this, and use
    proper variables when it happens.
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/frapi/custom/Output/html/Introduction.html.tpl
View
5 src/frapi/custom/Output/html/Introduction.html.tpl
@@ -317,18 +317,19 @@ $mimetypes = $grouped;
</tr>
<?php
}
- }
+ } else {
?>
<tr>
<td><?php echo $param['name']; ?></td>
<td class="param-required">
<?php
- echo isset($subparam['required']) && $subparam['required'] == '1'
+ echo isset($param['required']) && $param['required'] == '1'
? '<strong>&#10003;</strong>' : '<strong>&#10007;</strong>'
?>
</td>
</tr>
<?php
+ }
}
?>
</table>
Something went wrong with that request. Please try again.