From 88321df4d58a8d42f484ec202b0b4ec30f2d4e97 Mon Sep 17 00:00:00 2001 From: arun Date: Sat, 2 Jun 2007 15:50:35 +0000 Subject: [PATCH] BUGFIX: guess I should test again before commiting :) --- functions.php | 2 +- index.php | 2 +- 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 */ -- 2.25.1