Last active
December 14, 2015 04:09
-
-
Save dsmeringe/5026147 to your computer and use it in GitHub Desktop.
Yii AR query that fails only on sunday nights
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
<?php | |
//keeps failing on sunday evenings | |
$userInBed = Bed::model()->with('pillow','sheet')->findByAttributes( | |
array('user'=>':theOne'), | |
'', | |
array(':theOne'=>'smeringe') | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment