A tiny improvement
diff --git a/system/libraries/Trackback.php b/system/libraries/Trackback.php
index 2fb737d..ecc7129 100644
--- a/system/libraries/Trackback.php
+++ b/system/libraries/Trackback.php
@@ -268,9 +268,8 @@
}
// Build the path
- $ppath = isset($target['path']) ? $target['path'] : $url;
-
- $path = empty($target['query']) ? $ppath : $ppath.'?'.$target['query'];
+ $path = isset($target['path']) ? $target['path'] : $url;
+ empty($target['query']) OR $path .= '?'.$target['query'];
// Add the Trackback ID to the data string
if ($id = $this->get_id($url))