Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
Upgraded for 2.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Minnee committed Feb 28, 2008
1 parent 3708a10 commit 3a2240d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/GoogleAdwords.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class GoogleAdwords extends DataObjectDecorator {
private static $driver = "";

static function get_adwords_iframe() {
$controller = Controller::currentController();
$controller = Controller::curr();
if(method_exists($controller,"currentPage") && method_exists($controller->currentPage(),"ElementName"))
$page = $controller->currentPage()->ElementName();
else
Expand Down

0 comments on commit 3a2240d

Please sign in to comment.