Results 1 to 2 of 2

Thread: class.properties.php: Do not depend on $GLOBALS["mapisession"]

  1. #1
    Junior Member
    Join Date
    Nov 2011
    Posts
    11

    class.properties.php: Do not depend on $GLOBALS["mapisession"]

    Hi guys,

    as I'm trying to use as much of the existing libraries as possible, I included the Properties-class (zarafa-webaccess/server/core/) in my project, too. For I don't have $GLOBALS["mapisession"] defined, the class renders useless to me as it quits with the message:

    Therefore, I propose this little patch. It helps others to re-use your code without major interferance. Please let me know, what you think about it.


    Regards, mh166

  2. #2
    Senior Member
    Join Date
    Feb 2008
    Posts
    141
    Actually we can't remove/bypass that line because to generate named properties correctly we should always have have a store, check getPropIdsFromStrings function

Similar Threads

  1. class "importcontentschanges" not found in line 44
    By [email protected] in forum Z-Push when using Kopano/Zarafa
    Replies: 4
    Last Post: 18-05-2012, 02:58 PM
  2. Replies: 1
    Last Post: 02-08-2011, 11:30 AM
  3. Folders "Inbox", "Calendar", "Sent Items", etc. disappeared
    By rvjr in forum Installation and Configuration Archives
    Replies: 5
    Last Post: 12-01-2011, 10:20 PM
  4. cleanup table "properties"
    By kiar in forum Administration and Integration Archives
    Replies: 4
    Last Post: 15-10-2010, 07:02 PM
  5. Setting "multi value properties" - e.g. PT_MV_LONG
    By ritsch in forum PHP Development Archives
    Replies: 2
    Last Post: 24-02-2009, 02:00 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •