From 8730b77e6466655eb512620d7ed595fa7a613429 Mon Sep 17 00:00:00 2001 From: Jason Agnew Date: Mon, 27 Jul 2015 11:57:41 +0100 Subject: [PATCH] Set fallback for collation --- Herbert/Framework/Providers/HerbertServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Herbert/Framework/Providers/HerbertServiceProvider.php b/Herbert/Framework/Providers/HerbertServiceProvider.php index 674ae2a..37e004e 100644 --- a/Herbert/Framework/Providers/HerbertServiceProvider.php +++ b/Herbert/Framework/Providers/HerbertServiceProvider.php @@ -135,7 +135,7 @@ protected function registerEloquent() 'username' => DB_USER, 'password' => DB_PASSWORD, 'charset' => DB_CHARSET, - 'collation' => DB_COLLATE, + 'collation' => DB_COLLATE ?: 'utf8_general_ci', 'prefix' => $wpdb->prefix ]);