From 2b022f0c9ed3c092e93163c667001a5e8f97f774 Mon Sep 17 00:00:00 2001 From: steinm Date: Wed, 12 Oct 2011 06:14:42 +0000 Subject: [PATCH] - fixed typo, added myself to list of copyright holders --- op/op.ApproveDocument.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/op/op.ApproveDocument.php b/op/op.ApproveDocument.php index f45738cca..fd6840688 100644 --- a/op/op.ApproveDocument.php +++ b/op/op.ApproveDocument.php @@ -3,6 +3,7 @@ // Copyright (C) 2002-2005 Markus Westphal // Copyright (C) 2006-2008 Malcolm Cowe // Copyright (C) 2010 Matteo Lucarelli +// Copyright (C) 2011 Uwe Steinmann // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -55,7 +56,7 @@ if (!is_object($content)) { UI::exitError(getMLText("document_title", array("documentname" => $document->getName())),getMLText("invalid_version")); } -// operation is admitted only for last deocument version +// operation is only allowed for last the document version $latestContent = $document->getLatestContent(); if ($latestContent->getVersion()!=$version) { UI::exitError(getMLText("document_title", array("documentname" => $document->getName())),getMLText("invalid_version"));