Modified: trunk/Sungrazr/Server/Handler.php (107 => 108)
--- trunk/Sungrazr/Server/Handler.php 2007-12-22 22:07:51 UTC (rev 107)
+++ trunk/Sungrazr/Server/Handler.php 2007-12-28 05:18:38 UTC (rev 108)
@@ -94,7 +94,9 @@
if (is_object($this->_config['caller'])) {
$caller_class = get_class($this->_config['caller']);
- $this->_type = strtolower(end(explode('_', $caller_class)));
+ $parts = explode('_', $caller_class);
+ $last = end($parts);
+ $this->_type = strtolower($last);
}
$this->_request = Solar::dependency(