From c9668ae5f33b3193684bfff06593c44a91359927 Mon Sep 17 00:00:00 2001 From: ozhozh Date: Fri, 6 Aug 2010 21:35:38 +0000 Subject: [PATCH] Fix empty pagetitle notice git-svn-id: http://yourls.googlecode.com/svn/trunk@484 12232710-3e20-11de-b438-597f59cd7555 --- user/plugins/sample-toolbar/plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/plugins/sample-toolbar/plugin.php b/user/plugins/sample-toolbar/plugin.php index 8807043..84dc6f6 100644 --- a/user/plugins/sample-toolbar/plugin.php +++ b/user/plugins/sample-toolbar/plugin.php @@ -41,9 +41,9 @@ function ozh_toolbar_do( $args ) { // Update title if it hasn't been stored yet if( $pagetitle == '' ) { $pagetitle = yourls_get_remote_title( $url ); - $_pagetitle = htmlentities( yourls_get_remote_title( $url ) ); yourls_edit_link_title( $ozh_toolbar['keyword'], $pagetitle ); } + $_pagetitle = htmlentities( yourls_get_remote_title( $url ) ); $www = YOURLS_SITE; $ver = YOURLS_VERSION; -- 2.45.0