Skip to content

Commit

Permalink
Fix read only link
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnMcLear committed Oct 15, 2012
1 parent 5cf206b commit 3548a54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example_big.php
Expand Up @@ -153,7 +153,7 @@ function genRandomString() { // A funtion to generate a random name if something
echo "<h3><a href=$HOST/$padUrl>Edit Pad</a></h3>";
$readOnlyID = $instance->getReadOnlyID($pad);
$readOnlyID = $readOnlyID->readOnlyID;
echo "<h3><a href=$HOST/ro/$readOnlyID>Read only view</a>";
echo "<h3><a href=$HOST/$readOnlyID>Read only view</a>";
$getpublicStatus = $instance->getPublicStatus($pad); // get Security status of the pad
if ($getpublicStatus->publicStatus === false){
echo "<h3><a href=example_big.php?action=makePublic&name=$padUrl>Make pad public</a></h3>";
Expand Down

0 comments on commit 3548a54

Please sign in to comment.