View difference between Paste ID: EVjiWhSA and 0y1WndTg
SHOW: | | - or go back to the newest paste.
1
if (!empty($_POST)) {
2-
			foreach ($_POST as $guid => $status) {
2+
	foreach ($_POST as $guid => $status) {
3-
				$sharedUrl[$guid] = shareSingleNote($guid);
3+
		$sharedUrl[$guid] = shareSingleNote($guid);
4-
	 		}
4+
	 }
5-
		$_SESSION['sharedUrls'] = $sharedUrl;
5+
$_SESSION['sharedUrls'] = $sharedUrl;
6-
	 	}
6+
}
7-
$links = $_SESSION['sharedUrls'];
7+
$links = $_SESSION['sharedUrls'];