From e5fcdd0660da56a2f8c02bbb4ad7efe125b67928 Mon Sep 17 00:00:00 2001
From: Claudiu Cristea <clau.cristea@gmail.com>
Date: Sat, 6 Aug 2011 15:49:42 +0000
Subject: [PATCH] New PHP 5.3 notice.

---
 JsonRpcServer.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/JsonRpcServer.php b/JsonRpcServer.php
index cb360e7..65242c5 100644
--- a/JsonRpcServer.php
+++ b/JsonRpcServer.php
@@ -124,7 +124,7 @@ class JsonRpcServer{
     //Validate arguments
     for($i=0; $i<$arg_count; $i++)
     {
-      $val = $this->args[$i];
+      $val = isset($this->args[$i]) ? $this->args[$i] : NULL;
       $arg = $this->method['args'][$i];
       
       if (isset($val)) { //If we have data
-- 
1.7.0.4

