summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fb_canvas.module2
-rw-r--r--fb_url_rewrite.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/fb_canvas.module b/fb_canvas.module
index fd84cb6..96174f6 100644
--- a/fb_canvas.module
+++ b/fb_canvas.module
@@ -312,7 +312,7 @@ if (!function_exists('custom_url_rewrite_outbound')) {
function fb_canvas_url_outbound_alter(&$path, &$options, $original_path) {
// use $options['fb_url_alter'] = FALSE to suppress any alteration.
if ((isset($options['external']) && $options['external']) ||
- $options['fb_url_alter'] === FALSE) {
+ (isset($options['fb_url_alter']) && $options['fb_url_alter'] === FALSE)) {
return;
}
diff --git a/fb_url_rewrite.inc b/fb_url_rewrite.inc
index a4c3062..0947d11 100644
--- a/fb_url_rewrite.inc
+++ b/fb_url_rewrite.inc
@@ -106,7 +106,7 @@ if (!function_exists('custom_url_rewrite_outbound')) {
*/
function fb_url_outbound_alter(&$path, &$options, $original_path) {
if ((isset($options['external']) && $options['external']) ||
- $options['fb_url_alter'] === FALSE) {
+ (isset($options['fb_url_alter']) && $options['fb_url_alter'] === FALSE)) {
return;
}