diff --git a/Arabic/Numbers.php b/Arabic/Numbers.php
index <HASH>..<HASH> 100755
--- a/Arabic/Numbers.php
+++ b/Arabic/Numbers.php
@@ -430,7 +430,7 @@ class I18N_Arabic_Numbers
                 }
             }
             
-            if ($segment[$key] != '') {
+            if (isset($segment[$key]) && $segment[$key] != '') {
                 $segment[$key] = trim($segment[$key]);
             }
         }
Check if the index is set to resolve #<I> Undefined index notice