Skip to content

Commit

Permalink
sorry, another fix for my code
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Rauscher committed Apr 8, 2012
1 parent 4275b7c commit 70de522
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etherpad-lite-client.php
Expand Up @@ -267,7 +267,7 @@ public function getReadOnlyID($padID){

// sets a boolean for the public status of a pad
public function setPublicStatus($padID, $publicStatus){
if (is_boolean($publicStatus)) {
if (is_bool($publicStatus)) {
$publicStatus = $publicStatus ? "true" : "false";
}
return $this->post("setPublicStatus", array(
Expand Down

0 comments on commit 70de522

Please sign in to comment.