forked from GNUsocial/gnu-social
		
	Notice error
darcs-hash:20080720094917-533db-386e12dbeabcfb9bc74cdce11e6bc197964929b7.gz
This commit is contained in:
		| @@ -600,7 +600,7 @@ function common_forgetme() { | ||||
| function common_current_user() { | ||||
| 	if (isset($_REQUEST[session_name()]) || (isset($_SESSION['userid']) && $_SESSION['userid'])) { | ||||
| 		common_ensure_session(); | ||||
| 		$id = $_SESSION['userid']; | ||||
| 		$id = isset($_SESSION['userid']) ? $_SESSION['userid'] : false; | ||||
| 		if ($id) { | ||||
| 			# note: this should cache | ||||
| 			$user = User::staticGet($id); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user