Permalink
Browse files

MINOR Fixed coding style in CreditCardField::Field()

  • Loading branch information...
1 parent b2d16fd commit 54507d7a8f78c001a7af7a748653d566d8e4c536 @halkyon halkyon committed Mar 12, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 forms/CreditCardField.php
@@ -8,8 +8,7 @@ class CreditCardField extends TextField {
function Field() {
$parts = $this->value;
- if(!is_array($parts))
- $parts = explode("\n", chunk_split($parts,4,"\n"));
+ if(!is_array($parts)) $parts = explode("\n", chunk_split($parts,4,"\n"));
$parts = array_pad($parts, 4, "");
// TODO Mark as disabled/readonly

0 comments on commit 54507d7

Please sign in to comment.