From 1cfc6a83852f2f82e1654b89a8af2f00f7560506 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 28 Aug 2005 21:49:51 +0000 Subject: [PATCH] Changing the error occurence system --- includes/svnlib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/svnlib.php b/includes/svnlib.php index 6cf296a..d05a01f 100644 --- a/includes/svnlib.php +++ b/includes/svnlib.php @@ -108,7 +108,7 @@ class SVNLib $output = $viewsvn->shell->exec($this->svnpath . ' ' . $command . ' 2>&1'); $temp = implode("\n", $output); - if (strpos($temp, 'apr_error=') !== false OR strpos($temp, 'svn:') !== false) + if (strpos($temp, '(apr_err=') !== false) { $viewsvn->trigger->error(nl2br($temp)); } -- 2.43.5