Permalink
Browse files

retrieving is_array

  • Loading branch information...
1 parent 7a7f7cb commit 07bd968a2d660a5f71e6d489b5a0056ee2bc9c15 @acidvertigo acidvertigo committed Mar 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 catalog/includes/functions/general.php
@@ -168,7 +168,7 @@ function tep_break_string($string, $len, $break_char = '-') {
// Return all HTTP GET variables, except those passed as a parameter
function tep_get_all_get_params($exclude_array = '') {
- if (!isset($exclude_array)) $exclude_array = array();
+ if (!is_array($exclude_array)) $exclude_array = array();
$get_url = '';
if (isset($_GET) && (sizeof($_GET) > 0)) {

0 comments on commit 07bd968

Please sign in to comment.