serendipity_event_statistics updateTables

Hier können Probleme und alles andere in Deutscher Sprache gelöst werden.
Post Reply
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

serendipity_event_statistics updateTables

Post by Timbalu »

Hi
Ich hatte vor ein paar Monaten einmal ziemlich Probleme mit dem serendipity_event_statistics Plugin. Es wollte nicht updaten. Schließlich musste ich die SQL Updates per Hand machen.
Kann es sein das es hier einfach nur != heißen müsste?

Code: Select all

 if ($this->get_config('db_indices_created', 'false') !== '1') {
 	$this->updateTables();
 }
Ian
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: serendipity_event_statistics updateTables

Post by garvinhicking »

Hi!

Da könntest Du recht haben, sinnvoller wäre evtl:

Code: Select all

if ((int)$this->get_config('db_indices_created', '0') == 0) {
Hab eich so mal committed.

Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: serendipity_event_statistics updateTables

Post by Timbalu »

Ja, das würd ich auch so sehen! ;-)

Ian
Post Reply