Skip to content

Commit 023f178

Browse files
committed
Fix reference return warning for getFile
Is also not returning a sharable variable
1 parent f006bd7 commit 023f178

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/plugin_api.inc.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1754,7 +1754,7 @@ function &parseTemplate($filename)
17541754
* @param string The path selector that tells whether to return a HTTP or realpath
17551755
* @return string The full path+filename to the requested file
17561756
* */
1757-
function &getFile($filename, $key = 'serendipityPath')
1757+
function getFile($filename, $key = 'serendipityPath')
17581758
{
17591759
global $serendipity;
17601760

0 commit comments

Comments
 (0)