From af465791f7d1a5bf6dc739fd685f072f2f80462e Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Sun, 22 Apr 2007 05:21:12 +0000 Subject: [PATCH] Work around bug where submitting versions resulted in testData not being properly queued --- include/testData.php | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/include/testData.php b/include/testData.php index f654c88..61831fb 100644 --- a/include/testData.php +++ b/include/testData.php @@ -923,15 +923,8 @@ class testData{ { if($_SESSION['current']->hasPriv("admin")) return FALSE; - else if($this->iVersionId) - { - $oVersion = new version($this->iVersionId); - if($oVersion->canEdit()) - return FALSE; - else - return TRUE; - } else - return TRUE; + + return TRUE; } }