Created
October 3, 2013 18:29
-
-
Save jraddaoui/6814652 to your computer and use it in GitHub Desktop.
Avoid getDates() warning, refs #5737
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
radawi@ubuntu:~/www/atom-ac$ git diff | |
diff --git a/plugins/arElasticSearchPlugin/lib/model/arElasticSearchInformationObjectPdo.class.php b/plugins/arElasticSearchPlugin/lib/model/arElast | |
index 0b5fca9..0ead496 100644 | |
--- a/plugins/arElasticSearchPlugin/lib/model/arElasticSearchInformationObjectPdo.class.php | |
+++ b/plugins/arElasticSearchPlugin/lib/model/arElasticSearchInformationObjectPdo.class.php | |
@@ -840,7 +840,7 @@ class arElasticSearchInformationObjectPdo | |
} | |
// Dates | |
- $dates = $this->getDates('array'); | |
+ $dates = $this->getDates('array', sfConfig::get('sf_default_culture')); | |
if (0 < count($dates)) | |
{ | |
$serialized['dates'] = $dates; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment