aboutsummaryrefslogtreecommitdiff
path: root/www/inc/photo.class.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/inc/photo.class.inc.php')
-rw-r--r--www/inc/photo.class.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/inc/photo.class.inc.php b/www/inc/photo.class.inc.php
index 46f1a8f..1a55e59 100644
--- a/www/inc/photo.class.inc.php
+++ b/www/inc/photo.class.inc.php
@@ -102,7 +102,7 @@ class C_photo {
return;
}
//parse buffer
- if(preg_match("/^<span>(.*)</span>( - )?(.*)/i", $buffer, $x)) {
+ if(preg_match("|^<span>(.*)</span>( - )?(.*)|i", $buffer, $x)) {
$this->name = $x[1]; //mostly "Photo"
$this->caption = chop($x[3]);
} else {