Changing the error occurence system
authorRobert Sesek <rsesek@bluestatic.org>
Sun, 28 Aug 2005 21:49:51 +0000 (21:49 +0000)
committerRobert Sesek <rsesek@bluestatic.org>
Sun, 28 Aug 2005 21:49:51 +0000 (21:49 +0000)
includes/svnlib.php

index 6cf296a87322836a63f2d415ae8ee1d8aa1e8a10..d05a01f0fa618a9bf705123c87054b5dd87a6761 100644 (file)
@@ -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));
                }