Browse Source

Changed error to notice

Tobias Reich 10 years ago
parent
commit
1d7d852ddd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      php/modules/Photo.php

+ 1 - 1
php/modules/Photo.php

@@ -720,7 +720,7 @@ class Photo extends Module {
 		$tags = preg_replace('/(\ ,\ )|(\ ,)|(,\ )|(,{1,}\ {0,})|(,$|^,)/', ',', $tags);
 		$tags = preg_replace('/,$|^,|(\ ){0,}$/', '', $tags);
 		if (strlen($tags)>1000) {
-			Log::error($this->database, __METHOD__, __LINE__, 'Length of tags higher than 1000');
+			Log::notice($this->database, __METHOD__, __LINE__, 'Length of tags higher than 1000');
 			return false;
 		}