Skip to content

Instantly share code, notes, and snippets.

@jraddaoui
Created October 3, 2013 18:29
Show Gist options
  • Save jraddaoui/6814652 to your computer and use it in GitHub Desktop.
Save jraddaoui/6814652 to your computer and use it in GitHub Desktop.
Avoid getDates() warning, refs #5737
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