Created
December 17, 2015 00:45
-
-
Save damianoporta/bbb432948e6fb078d882 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (($percentage != 100 && $entity->get('visible') == 1) || | |
($percentage == 100 && $entity->get('visible') == 0) | |
) { | |
return true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment