From ed33d0686b2925338f489ff7e6a4f4d194108899 Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Fri, 9 May 2014 13:03:50 -0500
Subject: [PATCH] oops: getSignature does not always use $id

---
 include/ajax.content.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/ajax.content.php b/include/ajax.content.php
index acc238c34..2c0e056b5 100644
--- a/include/ajax.content.php
+++ b/include/ajax.content.php
@@ -103,7 +103,7 @@ class ContentAjaxAPI extends AjaxController {
         return $content;
     }
 
-    function getSignature($type, $id) {
+    function getSignature($type, $id=null) {
         global $thisstaff;
 
         if (!$thisstaff)
-- 
GitLab