Patch from Tracey
authorMichael Ang <mang@archive.org>
Thu, 21 Apr 2011 18:04:31 +0000 (18:04 +0000)
committerMichael Ang <mang@archive.org>
Thu, 21 Apr 2011 18:04:31 +0000 (18:04 +0000)
r33689 | tracey | 2011-03-01 03:56:53 +0000 (Tue, 01 Mar 2011) | 1 line

split() is going away in lucid+

BookReaderIA/datanode/BookReaderImages.inc.php

index 74b7b13..cd02d06 100644 (file)
@@ -97,7 +97,7 @@ class BookReaderImages
 
         // deal with subPrefix
         if ($_REQUEST['subPrefix']) {
-            $parts = split('/', $_REQUEST['subPrefix']);
+            $parts = explode('/', $_REQUEST['subPrefix']);
             $bookId = $parts[count($parts) - 1 ];
         } else {
             $bookId = $_REQUEST['id'];