summaryrefslogtreecommitdiff
path: root/plugins/example/init.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/example/init.php')
-rw-r--r--plugins/example/init.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/example/init.php b/plugins/example/init.php
index f3788ae8c..926a57da8 100644
--- a/plugins/example/init.php
+++ b/plugins/example/init.php
@@ -21,7 +21,7 @@ class Example extends Plugin {
}
function save() {
- $example_value = db_escape_string($_POST["example_value"]);
+ $example_value = db_escape_string($this->link, $_POST["example_value"]);
$this->host->set($this, "example", $example_value);