https://bugzilla.wikimedia.org/show_bug.cgi?id=16318
Summary: PHP warning on SortPermissions.php
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: Linux
Status: NEW
Severity: minor
Priority: Normal
Component: GroupPermissionsManager
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
Created an attachment (id=5521)
--> (https://bugzilla.wikimedia.org/attachment.cgi?id=5521)
Patch that does not call strpos() on an empty $wgScriptPath
I'm getting a PHP warning on calling
http://wiki.example.com/index.php/Special:SortPermissions:
Warning: strpos() [function.strpos]: Empty delimiter. in
/srv/www/htdocs/mediawiki-1.13.2/extensions/GroupPermissionsManager/SortPermissions.php
on line 34
I think the cause for this is (as you see in the URL above) a empty
$wgScriptPath. I attached a patch, that does not call strpos when $wgScriptPath
is empty.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l