aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-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 {