Quantcast
Channel: PKP Community Forum - Latest topics
Viewing all articles
Browse latest Browse all 27350

[OJS 2.4.8.5] Rounded Corners Plugin Uses eregi()

$
0
0

@twa wrote:

@asmecher, in the roundedCorners plugin there is an eregi() function used in l. 86 of RoundedCornersPlugin.inc.php:

if (eregi("\/", $divPosition[$i2][0])) {

eregi() was removed in PHP7.x, so I get a fatal php error on this. Couldn’t this be replaced by

if (preg_match('/\//i', $divPosition[$i2][0]))

? (Although the /i option is not important, when searching for / …)

Thanks, Tobias

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 27350

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>