Projects
Kolab:3.4
chwala
chwala-0.2-support-recent-libkolab-changes.patch
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File chwala-0.2-support-recent-libkolab-changes.patch of Package chwala (Revision 31)
Currently displaying revision
31
,
Show latest
From e112f1c2b390e06e4d804c5958bfa24db733c475 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <machniak@kolabsys.com> Date: Mon, 10 Feb 2014 08:12:59 +0000 Subject: Replace array_shift() call with direct index access to support recent libkolab changes where select() method can return an object implementing ArrayAccess interface. --- diff --git a/lib/kolab/kolab_file_storage.php b/lib/kolab/kolab_file_storage.php index 06ffc20..eaf61cb 100644 --- a/lib/kolab/kolab_file_storage.php +++ b/lib/kolab/kolab_file_storage.php @@ -872,7 +872,7 @@ class kolab_file_storage implements file_storage array('filename', '=', $file_name) )); - return array_shift($files); + return $files[0]; } /** -- cgit v0.8.2.1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.