Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix empty `current-member` attribute, bump version

  • Loading branch information...
commit be50d0850bff2af3615f4e70ab60a3396592fde6 1 parent 53758ec
@cz cz authored
View
4 extension.driver.php
@@ -5,8 +5,8 @@
public function about() {
return array(
'name' => 'Member Claims',
- 'version' => '0.1 beta',
- 'release-date' => '18 May 2011',
+ 'version' => '0.2 beta',
+ 'release-date' => '14 Sep 2011',
'author' => array(
'name' => 'Craig Zheng',
'website' => 'http://mongrl.com',
View
12 fields/field.memberclaim.php
@@ -142,15 +142,13 @@ public function appendFormattedElement(
// Grab the claim count
$count = $data['count'];
+ $current = 'No';
// Determine if the current member is a claimant
if($member_id = Frontend::instance()->Page()->_param['member-id']) {
-
- if(Claims::check($entry_id, $field_id, $member_id)) {
- $current = 'Yes';
- }
- else {
- $current = 'No';
- }
+
+ if(Claims::check($entry_id, $field_id, $member_id)) {
+ $current = 'Yes';
+ }
}
$output = new XMLElement(
View
4 readme.md
@@ -1,9 +1,9 @@
# Member Claims
- Status: **Untested**
-- Version: 0.1 beta
+- Version: 0.2 beta
- Author: Craig Zheng
-- Build Date: 20 May 2011
+- Build Date: 14 Sep 2011
- Requirements:
- [Symphony 2.2](https://github.com/symphonycms/symphony-2) or higher
- [Members 1.0](https://github.com/symphonycms/members) or higher
Please sign in to comment.
Something went wrong with that request. Please try again.