Skip to content

Commit 367e371

Browse files
authored
changed return value of get_segments() method
1 parent 21812ef commit 367e371

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

system/helpers/Url.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ function get_segments($index = null)
9999
if(array_key_exists($index, $segments))
100100
return $segments[$index];
101101
else
102-
return '<span style="color:#bc5858"><strong>UYARI:</strong> Böyle bir segment bulunmamaktadır - get_segments(' . $index . ')</span>';
102+
return 0;
103103
}
104104
}
105105
}
@@ -219,4 +219,4 @@ function safe_mail($email)
219219

220220
return '<span id="'.$id.'">[javascript protected email address]</span>'.$script;
221221
}
222-
}
222+
}

0 commit comments

Comments
 (0)