summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarun <arun@nubati.net>2007-06-02 15:50:35 +0000
committerarun <arun>2007-06-02 15:50:35 +0000
commit88321df4d58a8d42f484ec202b0b4ec30f2d4e97 (patch)
treefc1d0307e9447b928c75fa88e9c797db51cc8a7a
parentd638a4e1d0c15ce749430e546d695827c04979f1 (diff)
downloade-DoKo-88321df4d58a8d42f484ec202b0b4ec30f2d4e97.tar.gz
e-DoKo-88321df4d58a8d42f484ec202b0b4ec30f2d4e97.tar.bz2
e-DoKo-88321df4d58a8d42f484ec202b0b4ec30f2d4e97.zip
BUGFIX: guess I should test again before commiting :)
-rw-r--r--functions.php2
-rw-r--r--index.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/functions.php b/functions.php
index 418591d..893f916 100644
--- a/functions.php
+++ b/functions.php
@@ -681,7 +681,7 @@ function can_call($what,$hash)
return 1;
break;
case "5th-card":
- if( 27+4*($what/30)) <= $NRallcards + $offset*4)
+ if( 27+4*($what/30) <= $NRallcards + $offset*4)
return 1;
break;
case "9-cards":
diff --git a/index.php b/index.php
index 10416f1..1a825de 100644
--- a/index.php
+++ b/index.php
@@ -1059,7 +1059,7 @@ else if(myisset("me"))
else
echo "(wedding)";
- if(substr_compare($GT,"solo",0,4)==0 && $party=="re")
+ if(ereg("solo",$GT) && $party=="re")
echo "($GT)";
/* add point calls */