Created
February 18, 2016 14:49
-
-
Save kwikadi/1075ca9e17ade0d03639 to your computer and use it in GitHub Desktop.
random method in sentences controller
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
//Hack to ensure random doesn't break | |
if($randomId == 'error' || $randomId == 'disabled') { | |
$randomId = 1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment