Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed bug which prevented display of JCross clues on PHP 5.1.2

  • Loading branch information...
commit 30b8cc87e10f366407a02f926a42397a8baecdb9 1 parent feb00a5
gbateson authored
Showing with 17 additions and 13 deletions.
  1. +17 −13 mod/hotpot/template/v6.php
View
30 mod/hotpot/template/v6.php
@@ -1059,7 +1059,11 @@ function v6_expand_CluesAcross() {
}
function v6_expand_jcross_clues($direction) {
// $direction: A(cross) or D(own)
- $this->v6_get_jcross_grid($row=NULL, $r_max=0, $c_max=0);
+ $row = NULL;
+ $r_max = 0;
+ $c_max = 0;
+ $this->v6_get_jcross_grid($row, $r_max, $c_max);
+
$i = 0; // clue index;
$str = '';
for($r=0; $r<=$r_max; $r++) {
@@ -1093,9 +1097,9 @@ function v6_expand_jcross_clues($direction) {
// jcross6.js_
function v6_expand_LetterArray() {
- $row=NULL;
- $r_max=0;
- $c_max=0;
+ $row = NULL;
+ $r_max = 0;
+ $c_max = 0;
$this->v6_get_jcross_grid($row, $r_max, $c_max);
$str = '';
@@ -1109,9 +1113,9 @@ function v6_expand_LetterArray() {
return $str;
}
function v6_expand_GuessArray() {
- $row=NULL;
- $r_max=0;
- $c_max=0;
+ $row = NULL;
+ $r_max = 0;
+ $c_max = 0;
$this->v6_get_jcross_grid($row, $r_max, $c_max);
$str = '';
@@ -1121,9 +1125,9 @@ function v6_expand_GuessArray() {
return $str;
}
function v6_expand_ClueNumArray() {
- $row=NULL;
- $r_max=0;
- $c_max=0;
+ $row = NULL;
+ $r_max = 0;
+ $c_max = 0;
$this->v6_get_jcross_grid($row, $r_max, $c_max);
$i = 0; // clue index
@@ -1148,9 +1152,9 @@ function v6_expand_ClueNumArray() {
return $str;
}
function v6_expand_GridBody() {
- $row=NULL;
- $r_max=0;
- $c_max=0;
+ $row = NULL;
+ $r_max = 0;
+ $c_max = 0;
$this->v6_get_jcross_grid($row, $r_max, $c_max);
$i = 0; // clue index;
Please sign in to comment.
Something went wrong with that request. Please try again.