From: Michael J. Rubinsky Date: Sat, 9 Oct 2010 14:24:52 +0000 (-0400) Subject: two more places to use a hash instead of property access, instance might contain... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=73b32fa8b236db1cd2cf582542217f6557f0393e;p=horde.git two more places to use a hash instead of property access, instance might contain special characters --- diff --git a/horde/templates/block/twitter_tweet.html.php b/horde/templates/block/twitter_tweet.html.php index db83ad56b..8664a72a0 100644 --- a/horde/templates/block/twitter_tweet.html.php +++ b/horde/templates/block/twitter_tweet.html.php @@ -31,8 +31,8 @@
- link(array('onclick' => 'Horde.twitter' . $this->instanceid . '.buildReply(\'' . $this->tweet->id . '\', \'' . $this->tweet->user->screen_name . '\', \'' . $this->tweet->user->name . '\'); return false;')) . _("Reply") ?> -  |  link(array('onclick' => 'Horde.twitter' . $this->instanceid . '.retweet(\'' . $this->tweet->id . '\'); return false;')) . _("Retweet") ?> + link(array('onclick' => 'Horde[\'twitter' . $this->instanceid . '\'].buildReply(\'' . $this->tweet->id . '\', \'' . $this->tweet->user->screen_name . '\', \'' . $this->tweet->user->name . '\'); return false;')) . _("Reply") ?> +  |  link(array('onclick' => 'Horde[\'twitter' . $this->instanceid . '\'].retweet(\'' . $this->tweet->id . '\'); return false;')) . _("Retweet") ?>