From 73b32fa8b236db1cd2cf582542217f6557f0393e Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Sat, 9 Oct 2010 10:24:52 -0400 Subject: [PATCH] two more places to use a hash instead of property access, instance might contain special characters --- horde/templates/block/twitter_tweet.html.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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") ?>
 
-- 2.11.0