summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 */