Removed the undefined offset error
Merge branch 'master' of github.com:obs619/safetrip