summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/plugins/captcha_pi.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/plugins/captcha_pi.php b/system/plugins/captcha_pi.php
index 7aa31efb1..2c82f70a1 100644
--- a/system/plugins/captcha_pi.php
+++ b/system/plugins/captcha_pi.php
@@ -245,7 +245,7 @@ function create_captcha($data = '', $img_path = '', $img_url = '', $font_path =
// -----------------------------------
// PHP.net recommends imagecreatetruecolor(), but it isn't always available
- if (function_exists(imagecreatetruecolor))
+ if (function_exists('imagecreatetruecolor'))
{
$im = imagecreatetruecolor($img_width, $img_height);
}