You are here

function _uc_addresses_db_have_saved_addresses in Ubercart Addresses 6

Same name and namespace in other branches
  1. 5.2 uc_addresses.module \_uc_addresses_db_have_saved_addresses()

Check to see if we saved any addresses for an anonymous user.

Return value

True if there are any saved addresses.

File

./uc_addresses.module, line 1345

Code

function _uc_addresses_db_have_saved_addresses() {
  return isset($_SESSION['uc_addresses_saved_addresses']) && is_array($_SESSION['uc_addresses_saved_addresses']);
}