Browse Source

Minor change

pdontthink 22 years ago
parent
commit
dc99183182
1 changed files with 4 additions and 0 deletions
  1. 4 0
      doc/plugin.txt

+ 4 - 0
doc/plugin.txt

@@ -1207,8 +1207,12 @@ strongly encouraged to make use of.  Using them also makes your job easier.
 
   4.  To remove a variable from the session:
 
+         global $favorite_color;
          sqsession_unregister('favorite_color');
 
+      Strictly speaking, globalizing the variable shouldn't be necessary,
+      but certain versions of PHP seem to behave more predictably if you do.
+
 
 Form Variables
 --------------