[geeklog-devel] [geeklog-hg] geeklog: You now can delete a story submission from the story ed...

Tom websitemaster at cogeco.net
Thu Jun 20 06:42:49 EDT 2013


Good catch.

Instead of SEC_hasTopic it should have been

if (TOPIC_hasMultiTopicAccess('article', $sid) < 3) {

Tom

-----Original Message-----
From: geeklog-devel-bounces at lists.geeklog.net
[mailto:geeklog-devel-bounces at lists.geeklog.net] On Behalf Of Dirk Haun
Sent: June-20-13 4:10 AM
To: geeklog-devel at lists.geeklog.net
Subject: Re: [geeklog-devel] [geeklog-hg] geeklog: You now can delete a
story submission from the story ed...

> You now can delete a story submission from the story editor (bug #0001625)
(...)
>      } else if ($type == 'submission') {
> -        $tid = DB_getItem ($_TABLES['storysubmission'], 'tid', "sid  
> = '$sid'");
>          if (SEC_hasTopicAccess ($tid) < 3) {

That doesn't look right. Where does $tid come from now?

bye, Dirk


-- 
http://www.themobilepresenter.com/

_______________________________________________
geeklog-devel mailing list
geeklog-devel at lists.geeklog.net
http://eight.pairlist.net/mailman/listinfo/geeklog-devel




More information about the geeklog-devel mailing list