Index: trunk/extensions/LiquidThreads/classes/Threads.php |
— | — | @@ -117,7 +117,7 @@ |
118 | 118 | if ( array_key_exists( $post->getID(), self::$cache_by_root ) ) { |
119 | 119 | return self::$cache_by_root[$post->getID()]; |
120 | 120 | } |
121 | | - $ts = Threads::where( array( 'thread.thread_root' => $post->getID() ) ); |
| 121 | + $ts = Threads::where( array( 'thread_root' => $post->getID() ) ); |
122 | 122 | return self::assertSingularity( $ts, 'thread_root', $post->getID() ); |
123 | 123 | } |
124 | 124 | |
— | — | @@ -131,7 +131,7 @@ |
132 | 132 | } |
133 | 133 | |
134 | 134 | static function withSummary( $article ) { |
135 | | - $ts = Threads::where( array( 'thread.thread_summary_page' => $article->getId() ) ); |
| 135 | + $ts = Threads::where( array( 'thread_summary_page' => $article->getId() ) ); |
136 | 136 | return self::assertSingularity( $ts, 'thread_summary_page', $article->getId() ); |
137 | 137 | } |
138 | 138 | |