Commit d80317f3 authored by Sigrid Suski's avatar Sigrid Suski

possibility to override the view fields by type 'special' corrected

parent bbc1a7fc
......@@ -901,7 +901,7 @@ class SPField extends SPObject
// }
// view = special shows all fields besides 'hidden'
if ( ( $view != 'form' ) && !( $this->showIn == $view || $this->showIn == 'both' ) && ( $view == 'special' && $this->showIn == 'hidden' ) ) {
if ( ( $view != 'form' ) && !( $this->showIn == $view || $this->showIn == 'both' ) && !( $view == 'special' && $this->showIn != 'hidden' ) ) {
return false;
}
/*
......
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