Created
April 7, 2020 17:46
-
-
Save isotrope/ec70f5b85cacadcd34302769489bc2fc to your computer and use it in GitHub Desktop.
When Ternary Logic Goes Bad
This file contains hidden or 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
<?php | |
$subfield['value'] = ( $blank ) ? ("") : ( isset( $args['value'][ $row ][ $subfield['id'] ] )) ? ($args['value'][ $row ][ $subfield['id'] ] ): (""); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment