Commit 30c07ae3 authored by Sebastian Kummer's avatar Sebastian Kummer

ZO-81 Fix color name in comment.

parent df451dc4
...@@ -123,7 +123,7 @@ class SyncNote extends SyncObject { ...@@ -123,7 +123,7 @@ class SyncNote extends SyncObject {
* @return boolean * @return boolean
*/ */
public function SetCategoryFromColor() { public function SetCategoryFromColor() {
// is a color other than white set // is a color other than yellow set
if (isset($this->Color) && $this->Color != 3 && $this->Color > -1 && $this->Color < 5) { if (isset($this->Color) && $this->Color != 3 && $this->Color > -1 && $this->Color < 5) {
// check existing categories - do not rewrite category if the category is already a supported or unsupported color // check existing categories - do not rewrite category if the category is already a supported or unsupported color
if (!empty($this->categories) && if (!empty($this->categories) &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment