[Pkg-owncloud-commits] [php-sabre-vobject] 08/25: Corrected error level for validating N, ADR

David Prévot taffit at moszumanska.debian.org
Thu Apr 7 01:41:28 UTC 2016


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository php-sabre-vobject.

commit b6ec842125649f94689385dcad83f2439efbd420
Author: Evert Pot <me at evertpot.com>
Date:   Thu Mar 31 22:00:27 2016 -0400

    Corrected error level for validating N, ADR
---
 lib/Property/Text.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Property/Text.php b/lib/Property/Text.php
index cde84dc..2e16ac5 100644
--- a/lib/Property/Text.php
+++ b/lib/Property/Text.php
@@ -396,7 +396,7 @@ class Text extends Property {
             $parts = $this->getParts();
             if (count($parts) < $minimum) {
                 $warnings[] = [
-                    'level'   => 1,
+                    'level'   => $options & self::REPAIR ? 1 : 3,
                     'message' => 'The ' . $this->name  . ' property must have at least ' . $minimum . ' values. It only has ' . count($parts),
                     'node'    => $this,
                 ];

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-php/php-sabre-vobject.git



More information about the Pkg-owncloud-commits mailing list