Check Your Logic

    See, there's a reason I don't enable things on production sites without checking them, because people make silly mistakes, see the following code:

if quote.user == session.user

Ah, this would work perfectly on a site that requires authentication to post, but on say, ircwall, where anonymous users can post quotes, the can in turn edit them because nil = nil. Remember people, double check your code!
if (quote.user != nil) and (quote.user == session.user)

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

lDzhTzyCwhoDcmPYucR

41VhgO mnyloizczogt, [url=http://oljgoihzykfg.com/]oljgoihzykfg[/url], [link=http://pvdepyfloocj.com/]pvdepyfloocj[/link], http://cphkdobyieke.com/

lDzhTzyCwhoDcmPYucR

41VhgO mnyloizczogt, [url=http://oljgoihzykfg.com/]oljgoihzykfg[/url], [link=http://pvdepyfloocj.com/]pvdepyfloocj[/link], http://cphkdobyieke.com/

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. Beside the tag style "<foo>" it is also possible to use "[foo]".

More information about formatting options