rpms/pastebin/EL-4 pastebin-layout.php.patch,1.2,1.3

Michael Stahnke (stahnma) fedora-extras-commits at redhat.com
Sat Feb 9 18:53:46 UTC 2008


Author: stahnma

Update of /cvs/extras/rpms/pastebin/EL-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20534/EL-4

Modified Files:
	pastebin-layout.php.patch 
Log Message:
Fixed a patch bug

pastebin-layout.php.patch:

Index: pastebin-layout.php.patch
===================================================================
RCS file: /cvs/extras/rpms/pastebin/EL-4/pastebin-layout.php.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- pastebin-layout.php.patch	9 Feb 2008 15:57:13 -0000	1.2
+++ pastebin-layout.php.patch	9 Feb 2008 18:53:10 -0000	1.3
@@ -134,8 +134,8 @@
  <div id="namebox">
 -	
 +<?php 
-+  if(isset($SERVER['REMOTE_USER']))
-+      $page['poster'] = $SERVER['REMOTE_USER'];
++  if(isset($_SERVER['REMOTE_USER']))
++      $page['poster'] = $_SERVER['REMOTE_USER'];
 +?>
  <label for="poster"><?php echo t('Your Name')?></label><br/>
 -<input type="text" maxlength="24" size="24" id="poster" name="poster" value="<?php echo $page['poster'] ?>" />




More information about the fedora-extras-commits mailing list