bug-fix patch1

This commit is contained in:
Manish Verma
2016-09-28 13:27:37 +05:30
parent 88e37f6b27
commit 6f1831e58b
4 changed files with 7 additions and 7 deletions

View File

@@ -61,7 +61,7 @@ class FormController extends Controller
if (\Config::get('database.install') == '%0%') {
return \Redirect::route('licence');
}
$location = GeoIP::getLocation('');
$location = GeoIP::getLocation();
$phonecode = $code->where('iso', '=', $location['isoCode'])->first();
if (System::first()->status == 1) {
$topics = $topic->get();

View File

@@ -55,7 +55,7 @@ class GuestController extends Controller
public function getProfile(CountryCode $code)
{
$user = Auth::user();
$location = GeoIP::getLocation('');
$location = GeoIP::getLocation();
$phonecode = $code->where('iso', '=', $location['isoCode'])->first();
return view('themes.default1.client.helpdesk.profile', compact('user'))->with('phonecode', $phonecode->phonecode);