------------------------------------------------------------
revno: 1105
committer: Roger Martin <[email protected]>
branch nick: aikiframework
timestamp: Tue 2012-02-21 14:47:35 +0100
message:
  correct silly error in clean_url
modified:
  assets/apps/installer/library.php


--
lp:aikiframework
https://code.launchpad.net/~aikiframework-devel/aikiframework/trunk

Your team Aiki Framework Developers is subscribed to branch lp:aikiframework.
To unsubscribe from this branch go to 
https://code.launchpad.net/~aikiframework-devel/aikiframework/trunk/+edit-subscription
=== modified file 'assets/apps/installer/library.php'
--- assets/apps/installer/library.php	2012-02-20 18:42:56 +0000
+++ assets/apps/installer/library.php	2012-02-21 13:47:35 +0000
@@ -157,7 +157,7 @@
 
 function clean_url($url, $ending=true){
 	$top= strpos( $url, "/assets/apps/installer");
-	return ( $top ? substr($url,0,$top): $url) . ( $ending ? "/" : "");
+	return ( $top !== false ? substr($url,0,$top): $url) . ( $ending ? "/" : "");
 }
 
 

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help   : https://help.launchpad.net/ListHelp

Reply via email to