<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,6 +1,6 @@
 &lt;?php
 
-// Version 0.9.1.1
+// Version 1.0.0
 
 // You need to get this from PEAR
 // http://pear.php.net/package/Crypt_HMAC
@@ -58,10 +58,14 @@ class SSLiveAPI {
 	}
 	
 	function CleanseID($id) {
-		if (!preg_match('/^[a-zA-Z][a-zA-Z0-9_\-]+$/', $id))
-			return abs(intval($id));
-		else
-			return $id;
+		if (!empty($id)) {
+			if (!preg_match('/^[a-zA-Z][a-zA-Z0-9_\-]+$/', $id))
+				return abs(intval($id));
+			else
+				return $id;
+		} else {
+			return '';
+		}
 	}
 	
 	function GetSpaces() {</diff>
      <filename>sslive_class.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>df9659afae5dc7bb789fc1f4ee1c45c2b16ab328</id>
    </parent>
  </parents>
  <author>
    <name>Trevor K DeVore</name>
    <email>trevordevore@Trevors-iMac-2.local</email>
  </author>
  <url>http://github.com/bluemango/screensteps-live-api-php-example/commit/5c0f4bf2b731b5b845d86f245c4ef65f4a193ab9</url>
  <id>5c0f4bf2b731b5b845d86f245c4ef65f4a193ab9</id>
  <committed-date>2009-04-28T12:49:56-07:00</committed-date>
  <authored-date>2009-04-28T12:49:56-07:00</authored-date>
  <message>updated cleanseID to work better with permalinks, updated to version 1.0</message>
  <tree>ca4110e659d2857c985d4e520a140095054454a5</tree>
  <committer>
    <name>Trevor K DeVore</name>
    <email>trevordevore@Trevors-iMac-2.local</email>
  </committer>
</commit>
