From: Simon H. <sim...@us...> - 2010-11-17 11:28:39
|
Update of /cvsroot/stack/stack-dev/lib/database In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv16996/lib/database Modified Files: StackDBCache.php Log Message: Index: StackDBCache.php =================================================================== RCS file: /cvsroot/stack/stack-dev/lib/database/StackDBCache.php,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** StackDBCache.php 1 Oct 2010 15:02:54 -0000 1.23 --- StackDBCache.php 17 Nov 2010 11:28:31 -0000 1.24 *************** *** 270,274 **** */ public function getDisplayItem($id) { ! $this->query("SELECT state FROM display_cache WHERE id = $id"); return $this->base64_unserialize($this->result(0, 'state')); } --- 270,274 ---- */ public function getDisplayItem($id) { ! $this->query("SELECT state FROM display_cache WHERE id = $id LIMIT 1"); return $this->base64_unserialize($this->result(0, 'state')); } |