We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 6abdfeb4 authored by Mike Sheldon's avatar Mike Sheldon

Fix deprecated use of ereg in radio adjust

parent 149be06f
......@@ -34,7 +34,7 @@ if(!$res) {
if(ereg('^(globaltags|artist|user)/[^:]+$', $url, $regs)) {
if(preg_match('@^(globaltags|artist|user)/[^:]+$@', $url, $regs)) {
$url = 'librefm://' . $url; // compensate for shell-fm sending incomplete urls
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment