? notices_textsize.patch
Index: textsize.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/textsize/textsize.module,v
retrieving revision 1.1.1.2.2.4
diff -u -p -r1.1.1.2.2.4 textsize.module
--- textsize.module	10 Apr 2008 13:22:09 -0000	1.1.1.2.2.4
+++ textsize.module	9 Oct 2008 16:45:56 -0000
@@ -76,8 +76,8 @@ $path_textsize = drupal_get_path('module
       $output .= '<h3>'. t('Source') .'</h3>'."\n";
       $output .= '<p>'. t('The <abbr lang="en" xml:lang="en" title="Portable Network Graphics">PNG</abbr> and <abbr lang="en" xml:lang="en" title="Graphic Interchange Format">GIF</abbr> images are in the directory "/modules/textsize/images/" and the source file in "/modules/textsize/images/source/".') .'</p>'."\n";
       break;
+    return $output;
   }
-  return $output;
 }
 
 /**
@@ -537,8 +537,7 @@ $ps_url = base_path() .''; /* or base_pa
  * Note: use session or cookie like: "setcookie("pagestyle", $_GET['pagestyle'], time()+31536000, "/", "");"
  */
 function textsize_session() {
-$textsize_normal = variable_get('textsize_normal', 100);
-session_start();
+  $textsize_normal = variable_get('textsize_normal', 100);
   if ( isset($_GET['textsize']) ) {
     $_SESSION['textsize'] = ($_SESSION['textsize'] + $_GET['textsize']);
   }
